diff options
author | Namhyung Kim <[email protected]> | 2012-05-31 14:43:26 +0900 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2012-05-31 10:47:12 -0300 |
commit | 472606458f3e1ced5fe3cc5f04e90a6b5a4732cf (patch) | |
tree | a4110008697cc1e80d0c2a47cf9871e3cf32b299 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | ea1b3ebac9a1c72c4362c784b4ed069a938a4ddb (diff) |
perf callchain: Make callchain cursors TLS
perf top -G has a race on callchain cursor between main thread and
display thread. Since the callchain cursors are used locally make them
thread-local data would solve the problem.
Signed-off-by: Namhyung Kim <[email protected]>
Reported-by: Sunjin Yang <[email protected]>
Suggested-by: Arnaldo Carvalho de Melo <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Sunjin Yang <[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/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions