aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-script.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <[email protected]>2017-11-09 15:03:40 +0000
committerArnaldo Carvalho de Melo <[email protected]>2017-11-16 17:49:53 +0000
commit82806c3aae7496d6974429f3bd43ebeeef18b9b2 (patch)
tree6de2038e4c49fd310bb9370d9eb6c88fa2e6b451 /tools/perf/builtin-script.c
parentperf tools: Use shell function for perl cflags retrieval (diff)
downloadkernel-82806c3aae7496d6974429f3bd43ebeeef18b9b2.tar.gz
kernel-82806c3aae7496d6974429f3bd43ebeeef18b9b2.zip
perf evsel: Fix up leftover perf_evsel_stat usage via evsel->priv
I forgot one conversion, which got noticed by Thomas when running: $ perf stat -e '{cpu-clock,instructions}' kill kill: not enough arguments Segmentation fault (core dumped) $ Fix it, those stats are in evsel->stats, not anymore in evsel->priv. Reported-by: Thomas-Mich Richter <[email protected]> Tested-by: Thomas-Mich Richter <[email protected]> Cc: Adrian Hunter <[email protected]> Cc: Andi Kleen <[email protected]> Cc: David Ahern <[email protected]> Cc: Hendrik Brueckner <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Wang Nan <[email protected]> Fixes: e669e833da8d ("perf evsel: Restore evsel->priv as a tool private area") Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/builtin-script.c')
0 files changed, 0 insertions, 0 deletions