android_kernel_sony_sdm845/tools/perf
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Tejun Heo 03da0a42ea cgroup: make perf_event controller work on cgroup2 hierarchy
perf_event is a utility controller whose primary role is identifying
cgroup membership to filter perf events; however, because it also
tracks some per-css state, it can't be replaced by pure cgroup
membership test.  Mark the controller as implicitly enabled on the
default hierarchy so that perf events can always be filtered based on
cgroup v2 path as long as the controller is not mounted on a legacy
hierarchy.

"perf record" is updated accordingly so that it searches for both v1
and v2 hierarchies.  A v1 hierarchy is used if perf_event is mounted
on it; otherwise, it uses the v2 hierarchy.

v2: Doc updated to reflect more flexible rebinding behavior.

Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Arnaldo Carvalho de Melo <acme@kernel.org>
Signed-off-by: Sorayukii <sorayukii69@gmail.com>
2026-05-15 17:50:32 +07:00
..
arch perf record: Fix module size on s390 2019-08-25 10:51:21 +02:00
bench perf bench numa: Address compiler error on s390 2022-05-25 08:39:50 +02:00
Documentation perf record/stat: Explicitly call out event modifiers in the documentation 2020-09-12 11:47:32 +02:00
jvmti
pmu-events perf jevents: Fix getting maximum number of fds 2021-06-03 08:23:31 +02:00
python tweewide: Fix most Shebang lines 2021-06-03 08:23:27 +02:00
scripts tweewide: Fix most Shebang lines 2021-06-03 08:23:27 +02:00
tests perf test bpf: Free obj_buf 2021-07-28 09:14:27 +02:00
trace
ui perf hists browser: Restore ESC as "Zoom out" of DSO/thread/etc 2020-03-11 07:53:08 +01:00
util cgroup: make perf_event controller work on cgroup2 hierarchy 2026-05-15 17:50:32 +07:00
.gitignore
Build
builtin-annotate.c
builtin-bench.c
builtin-buildid-cache.c
builtin-buildid-list.c
builtin-config.c
builtin-data.c
builtin-diff.c
builtin-evlist.c
builtin-help.c perf help: Remove needless use of strncpy() 2019-07-10 09:55:36 +02:00
builtin-inject.c
builtin-kmem.c perf kmem: Fix memory leak in compact_gfp_flags() 2019-11-10 11:23:16 +01:00
builtin-kvm.c
builtin-list.c
builtin-lock.c perf lock: Don't free "lock_seq_stat" if read_count isn't zero 2020-11-24 13:03:02 +01:00
builtin-mem.c
builtin-probe.c perf probe: Do not show the skipped events 2020-06-20 10:24:22 +02:00
builtin-record.c
builtin-report.c perf report: Fix NULL pointer dereference in hists__fprintf_nr_sample_events() 2020-06-30 15:38:30 -04:00
builtin-sched.c
builtin-script.c perf tools: Fix snprint warnings for gcc 8 2020-07-31 16:44:07 +02:00
builtin-stat.c perf stat: Reset previous counts on repeat with interval 2019-10-17 13:42:17 -07:00
builtin-timechart.c
builtin-top.c perf top: Fix stdio interface input handling with glibc 2.28+ 2020-10-14 09:48:15 +02:00
builtin-trace.c perf trace: Add mmap alias for s390 2018-04-13 19:48:17 +02:00
builtin-version.c
builtin.h
check-headers.sh tools include: Adopt linux/bits.h 2019-05-31 06:48:13 -07:00
command-list.txt
CREDITS
design.txt
Makefile tools: Let O= makes handle a relative path with -C option 2020-04-02 17:20:36 +02:00
Makefile.config perf tools: Fix build with ARCH=x86_64 2018-01-23 19:57:07 +01:00
Makefile.perf perf tools: Move headers check into bash script 2018-06-05 10:28:56 +02:00
MANIFEST tools include: Introduce linux/bug.h, from the kernel sources 2018-06-05 10:28:56 +02:00
perf-archive.sh
perf-completion.sh
perf-read-vdso.c
perf-sys.h
perf-with-kcore.sh
perf.c
perf.h perf tools: Increase MAX_NR_CPUS and MAX_CACHES 2019-08-04 09:33:22 +02:00