mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-10 07:00:48 +00:00
71d7924b3e
To pick up the changes in: 2b26f0aa004995f4 ("perf: Support only inheriting events if cloned with CLONE_THREAD") 2e498d0a74e5b88a ("perf: Add support for event removal on exec") 547b60988e631f74 ("perf: aux: Add flags for the buffer format") 55bcf6ef314ae8ba ("perf: Extend PERF_TYPE_HARDWARE and PERF_TYPE_HW_CACHE") 7dde51767ca5339e ("perf: aux: Add CoreSight PMU buffer formats") 97ba62b278674293 ("perf: Add support for SIGTRAP on perf events") d0d1dd628527c77d ("perf core: Add PERF_COUNT_SW_CGROUP_SWITCHES event") Also change the expected sizeof(struct perf_event_attr) from 120 to 128 due to fields being added for the SIGTRAP changes. Addressing this perf build warning: Warning: Kernel ABI header at 'tools/include/uapi/linux/perf_event.h' differs from latest version at 'include/uapi/linux/perf_event.h' diff -u tools/include/uapi/linux/perf_event.h include/uapi/linux/perf_event.h Cc: Kan Liang <kan.liang@linux.intel.com> Cc: Marco Elver <elver@google.com> Cc: Mathieu Poirier <mathieu.poirier@linaro.org> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Suzuki K Poulose <suzuki.poulose@arm.com> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
51 lines
758 B
Plaintext
51 lines
758 B
Plaintext
# Event added by system-wide or CPU perf-record to handle the race of
|
|
# processes starting while /proc is processed.
|
|
[event]
|
|
fd=1
|
|
group_fd=-1
|
|
cpu=*
|
|
pid=-1
|
|
flags=8
|
|
type=1
|
|
size=128
|
|
config=9
|
|
sample_period=4000
|
|
sample_type=455
|
|
read_format=4
|
|
# Event will be enabled right away.
|
|
disabled=0
|
|
inherit=1
|
|
pinned=0
|
|
exclusive=0
|
|
exclude_user=0
|
|
exclude_kernel=0
|
|
exclude_hv=0
|
|
exclude_idle=0
|
|
mmap=1
|
|
comm=1
|
|
freq=1
|
|
inherit_stat=0
|
|
enable_on_exec=0
|
|
task=1
|
|
watermark=0
|
|
precise_ip=0
|
|
mmap_data=0
|
|
sample_id_all=1
|
|
exclude_host=0
|
|
exclude_guest=0
|
|
exclude_callchain_kernel=0
|
|
exclude_callchain_user=0
|
|
mmap2=1
|
|
comm_exec=1
|
|
context_switch=0
|
|
write_backward=0
|
|
namespaces=0
|
|
use_clockid=0
|
|
wakeup_events=0
|
|
bp_type=0
|
|
config1=0
|
|
config2=0
|
|
branch_sample_type=0
|
|
sample_regs_user=0
|
|
sample_stack_user=0
|