[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87ei8u93lu.fsf@gmail.com>
Date: Sun, 02 Jan 2011 20:29:33 -0500
From: Ben Gamari <bgamari.foss@...il.com>
To: Taras Glek <tglek@...illa.com>, linux-kernel@...r.kernel.org
Subject: Re: Measuring startup-time from userspace
On Sun, 02 Jan 2011 14:40:48 -0800, Taras Glek <tglek@...illa.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists