forked from Minki/linux
3a5afaec59
Instead make perf_evlist__confir_attrs use perf_evsel__set_sample_id() when having more than one event, that way only if we have multiple events we'll ask to have the event ids returned when we read its file descriptors. Cc: David Ahern <dsahern@gmail.com> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Mike Galbraith <efault@gmx.de> Cc: Namhyung Kim <namhyung@gmail.com> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Stephane Eranian <eranian@google.com> Link: http://lkml.kernel.org/n/tip-xuho5hrrxy2ky0cjpr80hyfp@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
22 lines
282 B
Plaintext
22 lines
282 B
Plaintext
[config]
|
|
command = record
|
|
args = -e '{cycles,instructions}' kill >/tmp/krava 2>&1
|
|
|
|
[event-1:base-record]
|
|
fd=1
|
|
group_fd=-1
|
|
sample_type=327
|
|
read_format=7
|
|
|
|
[event-2:base-record]
|
|
fd=2
|
|
group_fd=1
|
|
type=0
|
|
config=1
|
|
sample_type=327
|
|
read_format=7
|
|
mmap=0
|
|
comm=0
|
|
enable_on_exec=0
|
|
disabled=0
|