Re: [PATCH 1/1] v2 add StartTimeMonotomic, StartTimeBootTime to perpid in /proc

From: Thomas Gleixner
Date: Tue Feb 04 2014 - 15:33:37 EST


On Fri, 31 Jan 2014, Dan Ballard wrote:

> starttime in /proc/$PID/stat is inaccurate by "clock tick" granularity.
> The process starttime is useful for a variety of things, like figuring
> out creation ordering of processes and it is useful to detect PID
> reuses in a somewhat reliable way.
>
> The kernel internally stores finer granularity values and this patch
> exports them in the easily usable location /prod/$PID/status
> as StartTimeMonotonic and StartTimeBootTime.

If you want proper ordered and granular information use tracing.

Thanks,

tglx


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/