]> 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)
commit22dfd980ac65d1abf6f0849a76ab0a09b5c57833
treeea792fa09811d6fff4ea5eb781df26b3bbb94d6e
parentd47493c43bd24a8dbf52ded1517733c6108226b5
tools headers UAPI: Sync perf_event.h with the kernel sources

To pick up the changes in:

  5e18b77c0bd4e679 ("perf: Support only inheriting events if cloned with CLONE_THREAD")
  fb007ae5bf7d4ab4 ("perf: Add support for event removal on exec")
  80e532f5dea72c67 ("perf: aux: Add flags for the buffer format")
  c8dd6366b985ebc3 ("perf: Extend PERF_TYPE_HARDWARE and PERF_TYPE_HW_CACHE")
  dd2b1f6beca5fc56 ("perf: aux: Add CoreSight PMU buffer formats")
  7d02690905213c1b ("perf: Add support for SIGTRAP on perf events")
  73278a6e416e126d ("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