75226c577c
Following change adjusted 'struct perf_event_attr', but let
the attr test's sizes untouched:
60e2364e60
perf: Add ability to sample machine state on interrupt
[jolsa@krava perf]$ ./perf test attr -vv
--- start ---
test child forked, pid 9719
running './tests/attr/test-stat-group1'
'PERF_TEST_ATTR=/tmp/tmp4drvul ./perf stat -o /tmp/tmp4drvul/perf.data -e '{cycles,instructions}' kill >/dev/null 2>&1' ret 1
expected size=96, got 104
FAILED './tests/attr/test-stat-group1' - match failure
Adjusting test size values for attr test.
Reported-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Jiri Olsa <jolsa@redhat.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/r/20141209135301.GC6784@krava.brq.redhat.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
42 lines
551 B
Plaintext
42 lines
551 B
Plaintext
[event]
|
|
fd=1
|
|
group_fd=-1
|
|
# 0 or PERF_FLAG_FD_CLOEXEC flag
|
|
flags=0|8
|
|
cpu=*
|
|
type=0
|
|
size=104
|
|
config=0
|
|
sample_period=0
|
|
sample_type=0
|
|
read_format=3
|
|
disabled=1
|
|
inherit=1
|
|
pinned=0
|
|
exclusive=0
|
|
exclude_user=0
|
|
exclude_kernel=0
|
|
exclude_hv=0
|
|
exclude_idle=0
|
|
mmap=0
|
|
comm=0
|
|
freq=0
|
|
inherit_stat=0
|
|
enable_on_exec=1
|
|
task=0
|
|
watermark=0
|
|
precise_ip=0
|
|
mmap_data=0
|
|
sample_id_all=0
|
|
exclude_host=0|1
|
|
exclude_guest=0|1
|
|
exclude_callchain_kernel=0
|
|
exclude_callchain_user=0
|
|
wakeup_events=0
|
|
bp_type=0
|
|
config1=0
|
|
config2=0
|
|
branch_sample_type=0
|
|
sample_regs_user=0
|
|
sample_stack_user=0
|