summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/annotate.h
diff options
context:
space:
mode:
authorJiri Olsa <jolsa@kernel.org>2017-11-15 11:53:21 +0100
committerArnaldo Carvalho de Melo <acme@redhat.com>2017-11-17 12:16:24 -0300
commita7eec4c677fe60c8760fa9054b578c743ff6a3ec (patch)
treec5244a20b4143d0142c08d1580caab0a311d8b08 /tools/perf/util/annotate.h
parent244a1086aba97a6b673162fd6684c5c024b724db (diff)
downloadop-kernel-dev-a7eec4c677fe60c8760fa9054b578c743ff6a3ec.zip
op-kernel-dev-a7eec4c677fe60c8760fa9054b578c743ff6a3ec.tar.gz
perf top: Fix crash when annotating symbol
Ravi reported crash in perf top --stdio when annotating a function [1]. The issue was, that we don't pass evsel pointer into symbol__annotate() function, which got over looked in the last annotation changes. [1] https://marc.info/?l=linux-kernel&m=151060884412702&w=2 Committer note: This fixes the crash, but makes it stumble into another bug, double locking the annotation data structures, that is in turn fixed by the next patch in this series. Signed-off-by: Jiri Olsa <jolsa@kernel.org> Tested-by: Ravi Bangoria <ravi.bangoria@linux.vnet.ibm.com> Tested-by: Arnaldo Carvalho de Melo <acme@redhat.com> Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Andi Kleen <andi@firstfloor.org> Cc: David Ahern <dsahern@gmail.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Wang Nan <wangnan0@huawei.com> Link: http://lkml.kernel.org/n/tip-6eol035redpoqvxqnuiqudtc@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/annotate.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud