History

Merge tag 'perf-core-for-mingo-5.8-20200420' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core

Pull perf/core fixes and improvements from Arnaldo Carvalho de Melo: kernel + tools/perf: Alexey Budankov: - Introduce CAP_PERFMON to kernel and user space. callchains: Adrian Hunter: - Allow using Intel PT to synthesize callchains for regular events. Kan Liang: - Stitch LBR records from multiple samples to get deeper backtraces, there are caveats, see the csets for details. perf script: Andreas Gerstmayr: - Add flamegraph.py script BPF: Jiri Olsa: - Synthesize bpf_trampoline/dispatcher ksymbol events. perf stat: Arnaldo Carvalho de Melo: - Honour --timeout for forked workloads. Stephane Eranian: - Force error in fallback on :k events, to avoid counting nothing when the user asks for kernel events but is not allowed to. perf bench: Ian Rogers: - Add event synthesis benchmark. tools api fs: Stephane Eranian: - Make xxx__mountpoint() more scalable libtraceevent: He Zhe: - Handle return value of asprintf.

Ingo Molnar committed 6 years ago

Commit 87cfeb12 parents 18bf340 12e89e685 files · +1851 −513Browse files

Showing the changes to include/uapi/linux (1 of 85 files). Show all

Unified · Split

include/uapi/linux/capability.h+7−1
@@ -367,8 +367,14 @@ struct vfs_ns_cap_data { · 366 unmodified lines
367367
368368 #define CAP_AUDIT_READ 37
369369
370+/*
371+ * Allow system performance and observability privileged operations
372+ * using perf_events, i915_perf and other kernel subsystems
373+ */
374+
375+#define CAP_PERFMON 38
370376
371−#define CAP_LAST_CAP CAP_AUDIT_READ
377+#define CAP_LAST_CAP CAP_PERFMON
372378
373379 #define cap_valid(x) ((x) >= 0 && (x) <= CAP_LAST_CAP)
374380