Re: [PATCH] perf: sample after exit loses thread correlation - v4

2013-08-20 Thread David Ahern
ping On 8/14/13 8:49 AM, David Ahern wrote: Occassionally events (e.g., context-switch, sched tracepoints) are losing the conversion of sample data associated with a thread. For example: $ perf record -e sched:sched_switch -c 1 -a -- sleep 5 $ perf script ls 30482 [000] 1379727.583037: sc

[PATCH] perf: sample after exit loses thread correlation - v4

2013-08-14 Thread David Ahern
Occassionally events (e.g., context-switch, sched tracepoints) are losing the conversion of sample data associated with a thread. For example: $ perf record -e sched:sched_switch -c 1 -a -- sleep 5 $ perf script ls 30482 [000] 1379727.583037: sched:sched_switch: prev_comm=ls prev_pid=30482 .

Re: [PATCH] perf: sample after exit loses thread correlation - v3

2013-08-05 Thread Adrian Hunter
On 02/08/13 06:52, David Ahern wrote: > Occassionally events (e.g., context-switch, sched tracepoints) are losing > the conversion of sample data associated with a thread. For example: > > $ perf record -e sched:sched_switch -c 1 -a -- sleep 5 > $ perf script > > ls 30482 [000] 1379727.583037

[PATCH] perf: sample after exit loses thread correlation - v3

2013-08-01 Thread David Ahern
Occassionally events (e.g., context-switch, sched tracepoints) are losing the conversion of sample data associated with a thread. For example: $ perf record -e sched:sched_switch -c 1 -a -- sleep 5 $ perf script ls 30482 [000] 1379727.583037: sched:sched_switch: prev_comm=ls prev_pid=30482 .

Re: [PATCH] perf: sample after exit loses thread correlation

2013-07-29 Thread David Ahern
On 7/29/13 4:29 AM, Adrian Hunter wrote: When perf processes the EXIT event the thread is moved to the dead_threads list. When the SAMPLE event is processed no thread exists for the pid so a new one is created by machine__findnew_thread. In the case of per-cpu recording, it is normal for sample

Re: [PATCH] perf: sample after exit loses thread correlation

2013-07-29 Thread Adrian Hunter
On 27/07/2013 1:04 a.m., David Ahern wrote: Occassionally events (e.g., context-switch, sched tracepoints) are losing the conversion of sample data associated with a thread. For example: $ perf record -e sched:sched_switch -c 1 -a -- sleep 5 $ perf script ls 30482 [000] 1379727.583037: sch

Re: [PATCH] perf: sample after exit loses thread correlation

2013-07-27 Thread Jiri Olsa
On Fri, Jul 26, 2013 at 04:04:14PM -0600, David Ahern wrote: > Occassionally events (e.g., context-switch, sched tracepoints) are losing > the conversion of sample data associated with a thread. For example: > > $ perf record -e sched:sched_switch -c 1 -a -- sleep 5 > $ perf script > > ls 304

[PATCH] perf: sample after exit loses thread correlation

2013-07-26 Thread David Ahern
Occassionally events (e.g., context-switch, sched tracepoints) are losing the conversion of sample data associated with a thread. For example: $ perf record -e sched:sched_switch -c 1 -a -- sleep 5 $ perf script ls 30482 [000] 1379727.583037: sched:sched_switch: prev_comm=ls prev_pid=30482 .

Re: [PATCH] perf: sample after exit loses thread correlation

2013-06-03 Thread David Ahern
ping On 5/25/13 8:55 PM, David Ahern wrote: Some events (context-switch, sched:sched_switch) are losing the conversion of sample data associated with a thread. For example: $ perf record -e sched:sched_switch -c 1 -a -- sleep 5 $ perf script ls 30482 [000] 1379727.583037: sched:sched_swit

[PATCH] perf: sample after exit loses thread correlation

2013-05-25 Thread David Ahern
Some events (context-switch, sched:sched_switch) are losing the conversion of sample data associated with a thread. For example: $ perf record -e sched:sched_switch -c 1 -a -- sleep 5 $ perf script ls 30482 [000] 1379727.583037: sched:sched_switch: prev_comm=ls prev_pid=30482 ... ls 3048