Re: [PATCH 1/1] add StartTimeMonotomic, StartTimeBootTime to per pid in /proc

2014-01-31 Thread Dan Ballard
The process starttime is useful for a variety of things, like figuring out creation ordering of processes. Or it is useful to detect PID reuses in a somewhat reliable way. OK, maybe. Changelog should have said so. Yeah, Dan was also too lazy to explain the need, and had like 3 typoes in the ina

Re: [PATCH 1/1] add StartTimeMonotomic, StartTimeBootTime to per pid in /proc

2014-01-24 Thread Lennart Poettering
On Fri, 24.01.14 12:32, Peter Zijlstra (pet...@infradead.org) wrote: > > The process starttime is useful for a variety of things, like figuring > > out creation ordering of processes. Or it is useful to detect PID > > reuses in a somewhat reliable way. > > OK, maybe. Changelog should have said s

Re: [PATCH 1/1] add StartTimeMonotomic, StartTimeBootTime to per pid in /proc

2014-01-24 Thread Peter Zijlstra
On Fri, Jan 24, 2014 at 11:20:38AM +0100, Lennart Poettering wrote: > On Wed, 22.01.14 16:53, Peter Zijlstra (pet...@infradead.org) wrote: > > > > > On Tue, Jan 21, 2014 at 07:10:04AM -0800, Dan Ballard wrote: > > > starttime in /proc/$PID/stat is inaccurate by "clock tick" granularity. > > > The

Re: [PATCH 1/1] add StartTimeMonotomic, StartTimeBootTime to per pid in /proc

2014-01-24 Thread Lennart Poettering
On Wed, 22.01.14 16:53, Peter Zijlstra (pet...@infradead.org) wrote: > > On Tue, Jan 21, 2014 at 07:10:04AM -0800, Dan Ballard wrote: > > starttime in /proc/$PID/stat is inaccurate by "clock tick" granularity. > > The kernel keeps better track os this exposes that in /prod/$PID/status > > as Star

Re: [PATCH 1/1] add StartTimeMonotomic, StartTimeBootTime to per pid in /proc

2014-01-23 Thread Peter Zijlstra
On Thu, Jan 23, 2014 at 06:52:03AM -0800, Dan Ballard wrote: > On request of Lennart Poettering for the Linux plumbers. That's not an answer, so NAK then. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo

Re: [PATCH 1/1] add StartTimeMonotomic, StartTimeBootTime to per pid in /proc

2014-01-23 Thread Dan Ballard
On request of Lennart Poettering for the Linux plumbers. On 14-01-22 07:53 AM, Peter Zijlstra wrote: On Tue, Jan 21, 2014 at 07:10:04AM -0800, Dan Ballard wrote: starttime in /proc/$PID/stat is inaccurate by "clock tick" granularity. The kernel keeps better track os this exposes that in /prod/$

Re: [PATCH 1/1] add StartTimeMonotomic, StartTimeBootTime to per pid in /proc

2014-01-22 Thread Peter Zijlstra
On Tue, Jan 21, 2014 at 07:10:04AM -0800, Dan Ballard wrote: > starttime in /proc/$PID/stat is inaccurate by "clock tick" granularity. > The kernel keeps better track os this exposes that in /prod/$PID/status > as StartTimeMonotonic and StartTimeBootTime > Why? -- To unsubscribe from this list: s

[PATCH 1/1] add StartTimeMonotomic, StartTimeBootTime to per pid in /proc

2014-01-21 Thread Dan Ballard
starttime in /proc/$PID/stat is inaccurate by "clock tick" granularity. The kernel keeps better track os this exposes that in /prod/$PID/status as StartTimeMonotonic and StartTimeBootTime Signed-off-by: Dan Ballard --- Documentation/filesystems/proc.txt |6 +- fs/proc/array.c