public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Ben Gamari <bgamari.foss@gmail.com>
To: Taras Glek <tglek@mozilla.com>, linux-kernel@vger.kernel.org
Subject: Re: Measuring startup-time from userspace
Date: Sun, 02 Jan 2011 20:29:33 -0500	[thread overview]
Message-ID: <87ei8u93lu.fsf@gmail.com> (raw)
In-Reply-To: <4D20FEF0.5020206@mozilla.com>

On Sun, 02 Jan 2011 14:40:48 -0800, Taras Glek <tglek@mozilla.com> wrote:
> The question is, there way for a process to measure time-since-startup 
> without horrible hacks like spawning a new processes?
> 
Would you consider an LD_PRELOAD library to fall into the "hack"
category? I'm not sure when .init section is executed, but it might be
substantially earlier than when _start() is called.

- Ben

  reply	other threads:[~2011-01-03  1:29 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-02 22:40 Measuring startup-time from userspace Taras Glek
2011-01-03  1:29 ` Ben Gamari [this message]
2011-01-03  5:12 ` Alexander Clouter

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ei8u93lu.fsf@gmail.com \
    --to=bgamari.foss@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tglek@mozilla.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox