diff options
author | Namhyung Kim <[email protected]> | 2015-12-11 11:56:54 +0900 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2015-12-11 08:34:49 -0300 |
commit | 151ee834cc946fa159ee406c62b4d5ce1ebd7115 (patch) | |
tree | 6fb57dae8b814f4553b62936eccb3edda8468248 /tools/perf/scripts/python/check-perf-trace.py | |
parent | 64226bcf64629996948dc03c38594f00511bfc2b (diff) |
perf top: Access hists->lock only if needed
The perf_top__record_precise_ip() releases and regrabs the
he->hists->lock because it can sleep if there's an error. But it should
be done conditionally as it slows down the fast path.
Signed-off-by: Namhyung Kim <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Jiri Olsa <[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/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions