]> git.karo-electronics.de Git - linux-beck.git/commit
perf script: Check sample->callchain before using it
authorArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 18 Apr 2016 14:31:46 +0000 (11:31 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 18 Apr 2016 14:31:46 +0000 (11:31 -0300)
commit922315210b8007a26374e30712813b714af71cac
tree8f80a4df7cfc0e437d4c9c859512ec712cf58aa1
parentacf2abbd0b7fcc6325e9690a8a32ee924c827f70
perf script: Check sample->callchain before using it

Found by code inspection, while looking at thread__resolve_callchain()
callsites, one had it, the other didn't.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Milian Wolff <milian.wolff@kdab.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/n/tip-6r8i2afd3523thuuaxl39yhk@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-script.c