diff options
author | Namhyung Kim <namhyung@kernel.org> | 2015-12-11 02:56:54 (GMT) |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2015-12-11 11:34:49 (GMT) |
commit | 151ee834cc946fa159ee406c62b4d5ce1ebd7115 (patch) | |
tree | 6fb57dae8b814f4553b62936eccb3edda8468248 /README | |
parent | 64226bcf64629996948dc03c38594f00511bfc2b (diff) | |
download | linux-151ee834cc946fa159ee406c62b4d5ce1ebd7115.tar.xz |
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 <namhyung@kernel.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1449802616-16170-2-git-send-email-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions