perf auxtrace: Make auxtrace_queues__add_buffer() do CPU filtering
authorAdrian Hunter <adrian.hunter@intel.com>
Tue, 6 Mar 2018 09:13:18 +0000 (11:13 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 6 Apr 2018 12:40:41 +0000 (09:40 -0300)
commitb238db655796e74b59d9ece58b645ad0b494d615
tree55c53c324887556ed81917e50a9a1a1df367272b
parent01f97511f13cbf2ba3d23b2bffa06258dc81e283
perf auxtrace: Make auxtrace_queues__add_buffer() do CPU filtering

In preparation for supporting AUX area sampling buffers,
auxtrace_queues__add_buffer() needs to be more generic. To that end, move
CPU filtering into it.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Link: http://lkml.kernel.org/r/1520327598-1317-8-git-send-email-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/auxtrace.c