summaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-script.c
diff options
context:
space:
mode:
authorAdrian Hunter <adrian.hunter@intel.com>2017-05-26 11:17:38 +0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2017-06-30 11:50:55 -0300
commit644e0840ad4615e032d67adec6ee60f821b669fe (patch)
tree88db8b2f914c735ac90fdafab4f4904689dbf4da /tools/perf/builtin-script.c
parent38b65b0891dc129dc0a5ce148a21c481e667b395 (diff)
downloadtalos-obmc-linux-644e0840ad4615e032d67adec6ee60f821b669fe.tar.gz
talos-obmc-linux-644e0840ad4615e032d67adec6ee60f821b669fe.zip
perf auxtrace: Add CPU filter support
Decoding auxtrace data can take a long time. To avoid decoding unnecessarily, filter auxtrace data that is collected per-cpu before it is decoded. Signed-off-by: Adrian Hunter <adrian.hunter@intel.com> Cc: Andi Kleen <ak@linux.intel.com> Link: http://lkml.kernel.org/r/1495786658-18063-38-git-send-email-adrian.hunter@intel.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/builtin-script.c')
-rw-r--r--tools/perf/builtin-script.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/builtin-script.c b/tools/perf/builtin-script.c
index b458a0cc3544..83cdc0a61fd6 100644
--- a/tools/perf/builtin-script.c
+++ b/tools/perf/builtin-script.c
@@ -2992,6 +2992,7 @@ int cmd_script(int argc, const char **argv)
err = perf_session__cpu_bitmap(session, cpu_list, cpu_bitmap);
if (err < 0)
goto out_delete;
+ itrace_synth_opts.cpu_bitmap = cpu_bitmap;
}
if (!no_callchain)
OpenPOWER on IntegriCloud