]> git.baikalelectronics.ru Git - kernel.git/commit
tools headers UAPI: Sync perf_event.h with the kernel sources
authorArnaldo Carvalho de Melo <acme@redhat.com>
Sun, 9 May 2021 13:29:10 +0000 (10:29 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 10 May 2021 12:01:01 +0000 (09:01 -0300)
commitf789797593882c24b8eba8712e10ae9cb8e99cc8
treeea792fa09811d6fff4ea5eb781df26b3bbb94d6e
parentf5f273d3d384945eb947a754a248be5bb75a4047
tools headers UAPI: Sync perf_event.h with the kernel sources

To pick up the changes in:

  c2c02fcb4459a33d ("perf: Support only inheriting events if cloned with CLONE_THREAD")
  f080088de594f236 ("perf: Add support for event removal on exec")
  3bc05dd99fbb5679 ("perf: aux: Add flags for the buffer format")
  330af8e7e3a692e3 ("perf: Extend PERF_TYPE_HARDWARE and PERF_TYPE_HW_CACHE")
  6d78611e251c2065 ("perf: aux: Add CoreSight PMU buffer formats")
  8b8172e08187a58d ("perf: Add support for SIGTRAP on perf events")
  981dae2cbae61d0a ("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>
tools/include/uapi/linux/perf_event.h
tools/perf/tests/attr/base-record
tools/perf/tests/attr/base-stat
tools/perf/tests/attr/system-wide-dummy