aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/annotate.c
diff options
context:
space:
mode:
authorJiri Olsa <[email protected]>2015-11-02 11:10:25 +0000
committerArnaldo Carvalho de Melo <[email protected]>2015-11-05 15:51:00 +0000
commit0014de172d228e450377d1fd079d94e67128d27f (patch)
tree0a39934f9f5d9c383f7debd020e89c1efe6cb2b4 /tools/perf/util/annotate.c
parentperf tools: Fix find_perf_probe_point_from_map() which incorrectly returns su... (diff)
downloadkernel-0014de172d228e450377d1fd079d94e67128d27f.tar.gz
kernel-0014de172d228e450377d1fd079d94e67128d27f.zip
perf sched latency: Fix thread pid reuse issue
The latency subcommand holds a tree of working atoms sorted by thread's pid/tid. If there's new thread with same pid and tid, the old working atom is found and assert bug condition is hit in search function: thread_atoms_search: Assertion `!(thread != atoms->thread)' failed Changing the sort function to use thread object pointers together with pid and tid check. This way new thread will never find old one with same pid/tid. Link: http://lkml.kernel.org/n/[email protected] Reported-by: Mohit Agrawal <[email protected]> Signed-off-by: Jiri Olsa <[email protected]> Acked-by: Namhyung Kim <[email protected]> Cc: David Ahern <[email protected]> Cc: Peter Zijlstra <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/annotate.c')
0 files changed, 0 insertions, 0 deletions