Arnaldo Carvalho de Melo
aec95d7ce1
Merge remote-tracking branch 'torvalds/master' into perf-tools-next
...
To get the fixes that went thru perf-tools for v6.13.
Signed-off-by: Arnaldo Carvalho de Melo <[email protected] >
2024-12-13 11:53:27 -03:00
James Clark
f7e36d02d7
libperf: evlist: Fix --cpu argument on hybrid platform
...
Since the linked fixes: commit, specifying a CPU on hybrid platforms
results in an error because Perf tries to open an extended type event
on "any" CPU which isn't valid. Extended type events can only be opened
on CPUs that match the type.
Before (working):
$ perf record --cpu 1 -- true
[ perf record: Woken up 1 times to write data ]
[ perf record: Captured and wrote 2.385 MB perf.data (7 samples) ]
After (not working):
$ perf record -C 1 -- true
WARNING: A requested CPU in '1' is not supported by PMU 'cpu_atom' (CPUs 16-27) for event 'cycles:P'
Error:
The sys_perf_event_open() syscall returned with 22 (Invalid argument) for event (cpu_atom/cycles:P/).
/bin/dmesg | grep -i perf may provide additional information.
(Ignore the warning message, that's expected and not particularly
relevant to this issue).
This is because perf_cpu_map__intersect() of the user specified CPU (1)
and one of the PMU's CPUs (16-27) correctly results in an empty (NULL)
CPU map. However for the purposes of opening an event, libperf converts
empty CPU maps into an any CPU (-1) which the kernel rejects.
Fix it by deleting evsels with empty CPU maps in the specific case where
user requested CPU maps are evaluated.
Fixes: 251aa04024 ("perf parse-events: Wildcard most "numeric" events")
Reviewed-by: Ian Rogers <[email protected] >
Tested-by: Thomas Falcon <[email protected] >
Signed-off-by: James Clark <[email protected] >
Tested-by: Arnaldo Carvalho de Melo <[email protected] >
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Namhyung Kim <[email protected] >
2024-12-11 09:19:44 -08:00
Ian Rogers
bfb9467535
libperf cpumap: Grow array of read CPUs in smaller increments
...
Instead of growing the array by 2048, grow by the larger of the current
range or 16.
As ranges are typical for things like the online CPUs this will mean a
single allocation happens.
While uncore CPU maps will grow 16 at a time which is a value that is
generous except say on large servers.
Reviewed-by: Leo Yan <[email protected] >
Signed-off-by: Ian Rogers <[email protected] >
Cc: Adrian Hunter <[email protected] >
Cc: Alexander Shishkin <[email protected] >
Cc: Ben Gainey <[email protected] >
Cc: Ingo Molnar <[email protected] >
Cc: James Clark <[email protected] >
Cc: Jiri Olsa <[email protected] >
Cc: Kan Liang <[email protected] >
Cc: Kyle Meyer <[email protected] >
Cc: Mark Rutland <[email protected] >
Cc: Namhyung Kim <[email protected] >
Cc: Peter Zijlstra <[email protected] >
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected] >
2024-12-09 17:52:41 -03:00
Ian Rogers
e9ca57d711
libperf cpumap: Remove perf_cpu_map__read()
...
Function is no longer used and duplicates the parsing logic from
perf_cpu_map__new().
Remove to allow simplification.
Reviewed-by: Leo Yan <[email protected] >
Signed-off-by: Ian Rogers <[email protected] >
Cc: Adrian Hunter <[email protected] >
Cc: Alexander Shishkin <[email protected] >
Cc: Ben Gainey <[email protected] >
Cc: Ingo Molnar <[email protected] >
Cc: James Clark <[email protected] >
Cc: Jiri Olsa <[email protected] >
Cc: Kan Liang <[email protected] >
Cc: Kyle Meyer <[email protected] >
Cc: Mark Rutland <[email protected] >
Cc: Namhyung Kim <[email protected] >
Cc: Peter Zijlstra <[email protected] >
Link: https://lore.kernel.org/r/[email protected]
[ Applied manually to cope with "libperf cpumap: Refactor perf_cpu_map__merge()" ]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected] >
2024-12-09 17:52:41 -03:00
Ian Rogers
9d9a83c51a
libperf cpumap: Remove use of perf_cpu_map__read()
...
Remove use of a FILE and switch to reading a string that is then
passed to perf_cpu_map__new().
Being able to remove perf_cpu_map__read() avoids duplicated parsing
logic.
Reviewed-by: Leo Yan <[email protected] >
Signed-off-by: Ian Rogers <[email protected] >
Cc: Adrian Hunter <[email protected] >
Cc: Alexander Shishkin <[email protected] >
Cc: Ben Gainey <[email protected] >
Cc: Ingo Molnar <[email protected] >
Cc: James Clark <[email protected] >
Cc: Jiri Olsa <[email protected] >
Cc: Kan Liang <[email protected] >
Cc: Kyle Meyer <[email protected] >
Cc: Mark Rutland <[email protected] >
Cc: Namhyung Kim <[email protected] >
Cc: Peter Zijlstra <[email protected] >
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected] >
2024-12-09 17:52:41 -03:00
Ian Rogers
5d2fd516bb
libperf cpumap: Be tolerant of newline at the end of a cpumask
...
File cpumasks often have a newline that shouldn't trigger the invalid
parsing case in perf_cpu_map__new().
Reviewed-by: Leo Yan <[email protected] >
Signed-off-by: Ian Rogers <[email protected] >
Cc: Adrian Hunter <[email protected] >
Cc: Alexander Shishkin <[email protected] >
Cc: Ben Gainey <[email protected] >
Cc: Ingo Molnar <[email protected] >
Cc: James Clark <[email protected] >
Cc: Jiri Olsa <[email protected] >
Cc: Kan Liang <[email protected] >
Cc: Kyle Meyer <[email protected] >
Cc: Mark Rutland <[email protected] >
Cc: Namhyung Kim <[email protected] >
Cc: Peter Zijlstra <[email protected] >
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected] >
2024-12-09 17:52:41 -03:00
Ian Rogers
e8399d34d5
libperf cpumap: Hide/reduce scope of MAX_NR_CPUS
...
Avoid redefinition of MAX_NR_CPUS as a global constant, the original
definition is tools/perf/perf.h.
Reviewed-by: Leo Yan <[email protected] >
Signed-off-by: Ian Rogers <[email protected] >
Cc: Adrian Hunter <[email protected] >
Cc: Alexander Shishkin <[email protected] >
Cc: Ben Gainey <[email protected] >
Cc: Ingo Molnar <[email protected] >
Cc: James Clark <[email protected] >
Cc: Jiri Olsa <[email protected] >
Cc: Kan Liang <[email protected] >
Cc: Kyle Meyer <[email protected] >
Cc: Mark Rutland <[email protected] >
Cc: Namhyung Kim <[email protected] >
Cc: Peter Zijlstra <[email protected] >
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected] >
2024-12-09 17:52:41 -03:00
Kyle Meyer
9a1e106550
perf: Increase MAX_NR_CPUS to 4096
...
Systems have surpassed 2048 CPUs. Increase MAX_NR_CPUS to 4096.
Bitmaps declared with MAX_NR_CPUS bits will increase from 256B to 512B,
cpus_runtime will increase from 81960B to 163880B, and max_entries will
increase from 8192B to 16384B.
Reviewed-by: Ian Rogers <[email protected] >
Reviewed-by: Leo Yan <[email protected] >
Signed-off-by: Kyle Meyer <[email protected] >
Cc: Adrian Hunter <[email protected] >
Cc: Alexander Shishkin <[email protected] >
Cc: Ben Gainey <[email protected] >
Cc: Ingo Molnar <[email protected] >
Cc: James Clark <[email protected] >
Cc: Jiri Olsa <[email protected] >
Cc: Kan Liang <[email protected] >
Cc: Mark Rutland <[email protected] >
Cc: Namhyung Kim <[email protected] >
Cc: Peter Zijlstra <[email protected] >
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected] >
2024-12-09 17:52:41 -03:00
Leo Yan
a9d2217556
libperf cpumap: Refactor perf_cpu_map__merge()
...
The perf_cpu_map__merge() function has two arguments, 'orig' and
'other'. The function definition might cause confusion as it could give
the impression that the CPU maps in the two arguments are copied into a
new allocated structure, which is then returned as the result.
The purpose of the function is to merge the CPU map 'other' into the CPU
map 'orig'. This commit changes the 'orig' argument to a pointer to
pointer, so the new result will be updated into 'orig'.
The return value is changed to an int type, as an error number or 0 for
success.
Update callers and tests for the new function definition.
Reviewed-by: Adrian Hunter <[email protected] >
Signed-off-by: Leo Yan <[email protected] >
Tested-by: Arnaldo Carvalho de Melo <[email protected] >
Cc: Alexander Shishkin <[email protected] >
Cc: Ian Rogers <[email protected] >
Cc: James Clark <[email protected] >
Cc: Jiri Olsa <[email protected] >
Cc: Kan Liang <[email protected] >
Cc: Mark Rutland <[email protected] >
Cc: Namhyung Kim <[email protected] >
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected] >
2024-12-09 17:52:41 -03:00
Ben Gainey
80c281fca2
tools/perf: Correctly calculate sample period for inherited SAMPLE_READ values
...
Sample period calculation in deliver_sample_value is updated to
calculate the per-thread period delta for events that are inherit +
PERF_SAMPLE_READ. When the sampling event has this configuration, the
read_format.id is used with the tid from the sample to lookup the
storage of the previously accumulated counter total before calculating
the delta. All existing valid configurations where read_format.value
represents some global value continue to use just the read_format.id to
locate the storage of the previously accumulated total.
perf_sample_id is modified to support tracking per-thread
values, along with the existing global per-id values. In the
per-thread case, values are stored in a hash by tid within the
perf_sample_id, and are dynamically allocated as the number is not known
ahead of time.
Signed-off-by: Ben Gainey <[email protected] >
Cc: [email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Namhyung Kim <[email protected] >
2024-10-02 14:58:03 -07:00
Akihiko Odaki
6490dda55d
libperf: Explicitly specify install-html dependencies
...
install_doc of tools/lib/perf/Makefile invokes install-man,
install-html, and install-examples of
tools/lib/perf/Documentation/Makefile at once. This invocation succeeds
when make runs in serial but can fail when make runs in parallel because
while install-man of tools/lib/perf/Documentation/Makefile depends on
all, install-html depends on nothing and can run ahead of all.
Explicitly specify the dependencies of install-html to ensure that
they are resolved before install-html.
Signed-off-by: Akihiko Odaki <[email protected] >
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Namhyung Kim <[email protected] >
2024-09-26 15:45:48 -07:00
Charlie Jenkins
d261f9ebcf
libperf: Add gitignore
...
Ignore files that are generated by libperf and libperf tests.
Signed-off-by: Charlie Jenkins <[email protected] >
Cc: Adrian Hunter <[email protected] >
Cc: Alexander Shishkin <[email protected] >
Cc: Ian Rogers <[email protected] >
Cc: Ingo Molnar <[email protected] >
Cc: Jiri Olsa <[email protected] >
Cc: Mark Rutland <[email protected] >
Cc: Namhyung Kim <[email protected] >
Cc: Peter Zijlstra <[email protected] >
Link: https://lore.kernel.org/lkml/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected] >
2024-08-01 12:11:33 -03:00
Ian Rogers
6c1785cd75
perf record: Ensure space for lost samples
...
Previous allocation didn't account for sample ID written after the
lost samples event. Switch from malloc/free to a stack allocation.
Reported-by: Milian Wolff <[email protected] >
Closes: https://lore.kernel.org/linux-perf-users/23879991.0LEYPuXRzz@milian-workstation/
Signed-off-by: Ian Rogers <[email protected] >
Acked-by: Namhyung Kim <[email protected] >
Signed-off-by: Namhyung Kim <[email protected] >
Link: https://lore.kernel.org/r/[email protected]
2024-06-13 20:45:31 -07:00
Howard Chu
7cc72090fb
perf record: Fix comment misspellings
...
Fix comment misspellings
Signed-off-by: Howard Chu <[email protected] >
Cc: Adrian Hunter <[email protected] >
Cc: Alexander Shishkin <[email protected] >
Cc: Ian Rogers <[email protected] >
Cc: Ingo Molnar <[email protected] >
Cc: Jiri Olsa <[email protected] >
Cc: Kan Liang <[email protected] >
Cc: Mark Rutland <[email protected] >
Cc: Namhyung Kim <[email protected] >
Cc: Peter Zijlstra <[email protected] >
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected] >
2024-04-26 22:13:10 -03:00
Ian Rogers
dcd45b376d
libperf cpumap: Ensure empty cpumap is NULL from alloc
...
Potential corner cases could cause a cpumap to be allocated with size
0, but an empty cpumap should be represented as NULL. Add a path in
perf_cpu_map__alloc() to ensure this.
Suggested-by: James Clark <[email protected] >
Signed-off-by: Ian Rogers <[email protected] >
Acked-by: Namhyung Kim <[email protected] >
Cc: Adrian Hunter <[email protected] >
Cc: Alexander Shishkin <[email protected] >
Cc: Alexandre Ghiti <[email protected] >
Cc: Andrew Jones <[email protected] >
Cc: André Almeida <[email protected] >
Cc: Athira Rajeev <[email protected] >
Cc: Atish Patra <[email protected] >
Cc: Changbin Du <[email protected] >
Cc: Darren Hart <[email protected] >
Cc: Davidlohr Bueso <[email protected] >
Cc: Huacai Chen <[email protected] >
Cc: Ingo Molnar <[email protected] >
Cc: Jiri Olsa <[email protected] >
Cc: John Garry <[email protected] >
Cc: K Prateek Nayak <[email protected] >
Cc: Kajol Jain <[email protected] >
Cc: Kan Liang <[email protected] >
Cc: Leo Yan <[email protected] >
Cc: Mark Rutland <[email protected] >
Cc: Mike Leach <[email protected] >
Cc: Nick Desaulniers <[email protected] >
Cc: Paolo Bonzini <[email protected] >
Cc: Paran Lee <[email protected] >
Cc: Peter Zijlstra <[email protected] >
Cc: Ravi Bangoria <[email protected] >
Cc: Sandipan Das <[email protected] >
Cc: Sean Christopherson <[email protected] >
Cc: Steinar H. Gunderson <[email protected] >
Cc: Suzuki Poulouse <[email protected] >
Cc: Thomas Gleixner <[email protected] >
Cc: Will Deacon <[email protected] >
Cc: Yang Jihong <[email protected] >
Cc: Yang Li <[email protected] >
Cc: Yanteng Si <[email protected] >
Closes: https://lore.kernel.org/lkml/[email protected] /
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected] >
2024-03-21 10:41:28 -03:00
Ian Rogers
b6b4a62d85
libperf cpumap: Add any, empty and min helpers
...
Additional helpers to better replace perf_cpu_map__has_any_cpu_or_is_empty().
Signed-off-by: Ian Rogers <[email protected] >
Acked-by: Namhyung Kim <[email protected] >
Cc: Adrian Hunter <[email protected] >
Cc: Alexander Shishkin <[email protected] >
Cc: Alexandre Ghiti <[email protected] >
Cc: Andrew Jones <[email protected] >
Cc: André Almeida <[email protected] >
Cc: Athira Rajeev <[email protected] >
Cc: Atish Patra <[email protected] >
Cc: Changbin Du <[email protected] >
Cc: Darren Hart <[email protected] >
Cc: Davidlohr Bueso <[email protected] >
Cc: Huacai Chen <[email protected] >
Cc: Ingo Molnar <[email protected] >
Cc: James Clark <[email protected] >
Cc: Jiri Olsa <[email protected] >
Cc: John Garry <[email protected] >
Cc: K Prateek Nayak <[email protected] >
Cc: Kajol Jain <[email protected] >
Cc: Kan Liang <[email protected] >
Cc: Leo Yan <[email protected] >
Cc: Mark Rutland <[email protected] >
Cc: Mike Leach <[email protected] >
Cc: Nick Desaulniers <[email protected] >
Cc: Paolo Bonzini <[email protected] >
Cc: Paran Lee <[email protected] >
Cc: Peter Zijlstra <[email protected] >
Cc: Ravi Bangoria <[email protected] >
Cc: Sandipan Das <[email protected] >
Cc: Sean Christopherson <[email protected] >
Cc: Steinar H. Gunderson <[email protected] >
Cc: Suzuki Poulouse <[email protected] >
Cc: Thomas Gleixner <[email protected] >
Cc: Will Deacon <[email protected] >
Cc: Yang Jihong <[email protected] >
Cc: Yang Li <[email protected] >
Cc: Yanteng Si <[email protected] >
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected] >
2024-03-21 10:41:28 -03:00
Ian Rogers
1947b92464
libperf evlist: Avoid out-of-bounds access
...
Parallel testing appears to show a race between allocating and setting
evsel ids. As there is a bounds check on the xyarray it yields a segv
like:
```
AddressSanitizer:DEADLYSIGNAL
=================================================================
==484408==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000010
==484408==The signal is caused by a WRITE memory access.
==484408==Hint: address points to the zero page.
#0 0x55cef5d4eff4 in perf_evlist__id_hash tools/lib/perf/evlist.c:256
#1 0x55cef5d4f132 in perf_evlist__id_add tools/lib/perf/evlist.c:274
#2 0x55cef5d4f545 in perf_evlist__id_add_fd tools/lib/perf/evlist.c:315
#3 0x55cef5a1923f in store_evsel_ids util/evsel.c:3130
#4 0x55cef5a19400 in evsel__store_ids util/evsel.c:3147
#5 0x55cef5888204 in __run_perf_stat tools/perf/builtin-stat.c:832
#6 0x55cef5888c06 in run_perf_stat tools/perf/builtin-stat.c:960
#7 0x55cef58932db in cmd_stat tools/perf/builtin-stat.c:2878
...
```
Avoid this crash by early exiting the perf_evlist__id_add_fd and
perf_evlist__id_add is the access is out-of-bounds.
Signed-off-by: Ian Rogers <[email protected] >
Cc: Yang Jihong <[email protected] >
Signed-off-by: Namhyung Kim <[email protected] >
Link: https://lore.kernel.org/r/[email protected]
2024-02-29 13:57:02 -08:00
Ian Rogers
67bc993446
libperf cpumap: Document perf_cpu_map__nr()'s behavior
...
perf_cpu_map__nr()'s behavior around an empty CPU map is strange as it
returns that there is 1 CPU. Changing code that may rely on this
behavior is hard, we can at least document the behavior.
Reviewed-by: James Clark <[email protected] >
Signed-off-by: Ian Rogers <[email protected] >
Acked-by: Adrian Hunter <[email protected] >
Acked-by: Namhyung Kim <[email protected] >
Cc: Alexander Shishkin <[email protected] >
Cc: Alexandre Ghiti <[email protected] >
Cc: Andrew Jones <[email protected] >
Cc: André Almeida <[email protected] >
Cc: Athira Rajeev <[email protected] >
Cc: Atish Patra <[email protected] >
Cc: Changbin Du <[email protected] >
Cc: Darren Hart <[email protected] >
Cc: Davidlohr Bueso <[email protected] >
Cc: Huacai Chen <[email protected] >
Cc: Ingo Molnar <[email protected] >
Cc: Jiri Olsa <[email protected] >
Cc: John Garry <[email protected] >
Cc: K Prateek Nayak <[email protected] >
Cc: Kajol Jain <[email protected] >
Cc: Kan Liang <[email protected] >
Cc: Leo Yan <[email protected] >
Cc: Mark Rutland <[email protected] >
Cc: Mike Leach <[email protected] >
Cc: Nick Desaulniers <[email protected] >
Cc: Paolo Bonzini <[email protected] >
Cc: Paran Lee <[email protected] >
Cc: Peter Zijlstra <[email protected] >
Cc: Ravi Bangoria <[email protected] >
Cc: Sandipan Das <[email protected] >
Cc: Sean Christopherson <[email protected] >
Cc: Steinar H. Gunderson <[email protected] >
Cc: Suzuki Poulouse <[email protected] >
Cc: Thomas Gleixner <[email protected] >
Cc: Will Deacon <[email protected] >
Cc: Yang Jihong <[email protected] >
Cc: Yang Li <[email protected] >
Cc: Yanteng Si <[email protected] >
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected] >
2023-12-18 21:34:46 -03:00
Ian Rogers
5805c82513
libperf cpumap: Add for_each_cpu() that skips the "any CPU" case
...
When iterating CPUs in a CPU map it is often desirable to skip the "any
CPU" (aka dummy) case. Add a helper for this and use in builtin-record.
Reviewed-by: James Clark <[email protected] >
Signed-off-by: Ian Rogers <[email protected] >
Cc: Adrian Hunter <[email protected] >
Cc: Alexander Shishkin <[email protected] >
Cc: Alexandre Ghiti <[email protected] >
Cc: Andrew Jones <[email protected] >
Cc: André Almeida <[email protected] >
Cc: Athira Jajeev <[email protected] >
Cc: Atish Patra <[email protected] >
Cc: Changbin Du <[email protected] >
Cc: Darren Hart <[email protected] >
Cc: Davidlohr Bueso <[email protected] >
Cc: Huacai Chen <[email protected] >
Cc: Ingo Molnar <[email protected] >
Cc: Jiri Olsa <[email protected] >
Cc: John Garry <[email protected] >
Cc: K Prateek Nayak <[email protected] >
Cc: Kajol Jain <[email protected] >
Cc: Kan Liang <[email protected] >
Cc: Leo Yan <[email protected] >
Cc: Mark Rutland <[email protected] >
Cc: Mike Leach <[email protected] >
Cc: Namhyung Kim <[email protected] >
Cc: Nick Desaulniers <[email protected] >
Cc: Paolo Bonzini <[email protected] >
Cc: Paran Lee <[email protected] >
Cc: Peter Zijlstra <[email protected] >
Cc: Ravi Bangoria <[email protected] >
Cc: Sandipan Das <[email protected] >
Cc: Sean Christopherson <[email protected] >
Cc: Steinar H. Gunderson <[email protected] >
Cc: Suzuki Poulouse <[email protected] >
Cc: Thomas Gleixner <[email protected] >
Cc: Will Deacon <[email protected] >
Cc: Yang Jihong <[email protected] >
Cc: Yang Li <[email protected] >
Cc: Yanteng Si <[email protected] >
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected] >
2023-12-12 14:55:13 -03:00
Ian Rogers
effe957c6b
libperf cpumap: Replace usage of perf_cpu_map__new(NULL) with perf_cpu_map__new_online_cpus()
...
Passing NULL to perf_cpu_map__new() performs
perf_cpu_map__new_online_cpus(), just directly call
perf_cpu_map__new_online_cpus() to be more intention revealing.
Reviewed-by: James Clark <[email protected] >
Signed-off-by: Ian Rogers <[email protected] >
Cc: Adrian Hunter <[email protected] >
Cc: Alexander Shishkin <[email protected] >
Cc: Alexandre Ghiti <[email protected] >
Cc: Andrew Jones <[email protected] >
Cc: André Almeida <[email protected] >
Cc: Athira Jajeev <[email protected] >
Cc: Atish Patra <[email protected] >
Cc: Changbin Du <[email protected] >
Cc: Darren Hart <[email protected] >
Cc: Davidlohr Bueso <[email protected] >
Cc: Huacai Chen <[email protected] >
Cc: Ingo Molnar <[email protected] >
Cc: Jiri Olsa <[email protected] >
Cc: John Garry <[email protected] >
Cc: K Prateek Nayak <[email protected] >
Cc: Kajol Jain <[email protected] >
Cc: Kan Liang <[email protected] >
Cc: Leo Yan <[email protected] >
Cc: Mark Rutland <[email protected] >
Cc: Mike Leach <[email protected] >
Cc: Namhyung Kim <[email protected] >
Cc: Nick Desaulniers <[email protected] >
Cc: Paolo Bonzini <[email protected] >
Cc: Paran Lee <[email protected] >
Cc: Peter Zijlstra <[email protected] >
Cc: Ravi Bangoria <[email protected] >
Cc: Sandipan Das <[email protected] >
Cc: Sean Christopherson <[email protected] >
Cc: Steinar H. Gunderson <[email protected] >
Cc: Suzuki Poulouse <[email protected] >
Cc: Thomas Gleixner <[email protected] >
Cc: Will Deacon <[email protected] >
Cc: Yang Jihong <[email protected] >
Cc: Yang Li <[email protected] >
Cc: Yanteng Si <[email protected] >
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected] >
2023-12-12 14:55:13 -03:00
Ian Rogers
923ca62a7b
libperf cpumap: Rename perf_cpu_map__empty() to perf_cpu_map__has_any_cpu_or_is_empty()
...
The name perf_cpu_map_empty is misleading as true is also returned
when the map contains an "any" CPU (aka dummy) map.
Rename to perf_cpu_map__has_any_cpu_or_is_empty(), later changes will
(re)introduce perf_cpu_map__empty() and perf_cpu_map__has_any_cpu().
Reviewed-by: James Clark <[email protected] >
Signed-off-by: Ian Rogers <[email protected] >
Cc: Adrian Hunter <[email protected] >
Cc: Alexander Shishkin <[email protected] >
Cc: Alexandre Ghiti <[email protected] >
Cc: Andrew Jones <[email protected] >
Cc: André Almeida <[email protected] >
Cc: Athira Jajeev <[email protected] >
Cc: Atish Patra <[email protected] >
Cc: Changbin Du <[email protected] >
Cc: Darren Hart <[email protected] >
Cc: Davidlohr Bueso <[email protected] >
Cc: Huacai Chen <[email protected] >
Cc: Ingo Molnar <[email protected] >
Cc: Jiri Olsa <[email protected] >
Cc: John Garry <[email protected] >
Cc: K Prateek Nayak <[email protected] >
Cc: Kajol Jain <[email protected] >
Cc: Kan Liang <[email protected] >
Cc: Leo Yan <[email protected] >
Cc: Mark Rutland <[email protected] >
Cc: Mike Leach <[email protected] >
Cc: Namhyung Kim <[email protected] >
Cc: Nick Desaulniers <[email protected] >
Cc: Paolo Bonzini <[email protected] >
Cc: Paran Lee <[email protected] >
Cc: Peter Zijlstra <[email protected] >
Cc: Ravi Bangoria <[email protected] >
Cc: Sandipan Das <[email protected] >
Cc: Sean Christopherson <[email protected] >
Cc: Steinar H. Gunderson <[email protected] >
Cc: Suzuki Poulouse <[email protected] >
Cc: Thomas Gleixner <[email protected] >
Cc: Will Deacon <[email protected] >
Cc: Yang Jihong <[email protected] >
Cc: Yang Li <[email protected] >
Cc: Yanteng Si <[email protected] >
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected] >
2023-12-12 14:55:13 -03:00
Ian Rogers
8f60f870a9
libperf cpumap: Rename perf_cpu_map__default_new() to perf_cpu_map__new_online_cpus() and prefer sysfs
...
Rename perf_cpu_map__default_new() to perf_cpu_map__new_online_cpus() to
better indicate what the implementation does.
Read the online CPUs from /sys/devices/system/cpu/online first before
using sysconf() as it can't accurately configure holes in the CPU map.
If sysconf() is used, warn when the configured and online processors
disagree.
When reading from a file, if the read doesn't yield a CPU map then
return an empty map rather than the default online. This avoids
recursion but also better yields being able to detect failures.
Add more comments.
Reviewed-by: James Clark <[email protected] >
Signed-off-by: Ian Rogers <[email protected] >
Cc: Adrian Hunter <[email protected] >
Cc: Alexander Shishkin <[email protected] >
Cc: Alexandre Ghiti <[email protected] >
Cc: Andrew Jones <[email protected] >
Cc: André Almeida <[email protected] >
Cc: Athira Jajeev <[email protected] >
Cc: Atish Patra <[email protected] >
Cc: Changbin Du <[email protected] >
Cc: Darren Hart <[email protected] >
Cc: Davidlohr Bueso <[email protected] >
Cc: Huacai Chen <[email protected] >
Cc: Ingo Molnar <[email protected] >
Cc: Jiri Olsa <[email protected] >
Cc: John Garry <[email protected] >
Cc: K Prateek Nayak <[email protected] >
Cc: Kajol Jain <[email protected] >
Cc: Kan Liang <[email protected] >
Cc: Leo Yan <[email protected] >
Cc: Mark Rutland <[email protected] >
Cc: Mike Leach <[email protected] >
Cc: Namhyung Kim <[email protected] >
Cc: Nick Desaulniers <[email protected] >
Cc: Paolo Bonzini <[email protected] >
Cc: Paran Lee <[email protected] >
Cc: Peter Zijlstra <[email protected] >
Cc: Ravi Bangoria <[email protected] >
Cc: Sandipan Das <[email protected] >
Cc: Sean Christopherson <[email protected] >
Cc: Steinar H. Gunderson <[email protected] >
Cc: Suzuki Poulouse <[email protected] >
Cc: Thomas Gleixner <[email protected] >
Cc: Will Deacon <[email protected] >
Cc: Yang Jihong <[email protected] >
Cc: Yang Li <[email protected] >
Cc: Yanteng Si <[email protected] >
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Link: https://lore.kernel.org/r/[email protected]
[ s/syfs/sysfs/g typo ]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected] >
2023-12-12 14:54:51 -03:00
Ian Rogers
48219b089d
libperf cpumap: Rename perf_cpu_map__dummy_new() to perf_cpu_map__new_any_cpu()
...
Rename perf_cpu_map__dummy_new() to perf_cpu_map__new_any_cpu() to
better indicate this is creating a CPU map for the perf_event_open "any"
CPU case.
Reviewed-by: James Clark <[email protected] >
Signed-off-by: Ian Rogers <[email protected] >
Cc: Adrian Hunter <[email protected] >
Cc: Alexander Shishkin <[email protected] >
Cc: Alexandre Ghiti <[email protected] >
Cc: Andrew Jones <[email protected] >
Cc: André Almeida <[email protected] >
Cc: Athira Jajeev <[email protected] >
Cc: Atish Patra <[email protected] >
Cc: Changbin Du <[email protected] >
Cc: Darren Hart <[email protected] >
Cc: Davidlohr Bueso <[email protected] >
Cc: Huacai Chen <[email protected] >
Cc: Ingo Molnar <[email protected] >
Cc: Jiri Olsa <[email protected] >
Cc: John Garry <[email protected] >
Cc: K Prateek Nayak <[email protected] >
Cc: Kajol Jain <[email protected] >
Cc: Kan Liang <[email protected] >
Cc: Leo Yan <[email protected] >
Cc: Mark Rutland <[email protected] >
Cc: Mike Leach <[email protected] >
Cc: Namhyung Kim <[email protected] >
Cc: Nick Desaulniers <[email protected] >
Cc: Paolo Bonzini <[email protected] >
Cc: Paran Lee <[email protected] >
Cc: Peter Zijlstra <[email protected] >
Cc: Ravi Bangoria <[email protected] >
Cc: Sandipan Das <[email protected] >
Cc: Sean Christopherson <[email protected] >
Cc: Steinar H. Gunderson <[email protected] >
Cc: Suzuki Poulouse <[email protected] >
Cc: Thomas Gleixner <[email protected] >
Cc: Will Deacon <[email protected] >
Cc: Yang Jihong <[email protected] >
Cc: Yang Li <[email protected] >
Cc: Yanteng Si <[email protected] >
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected] >
2023-12-12 14:01:47 -03:00
Ian Rogers
366efbff58
libperf: Lazily allocate/size mmap event copy
...
The event copy in the mmap is used to have storage to read an event. Not
all users of mmaps read the events, such as perf record. The amount of
buffer was also statically set to PERF_SAMPLE_MAX_SIZE rather than the
amount necessary from the header's event size.
Switch to a model where the event_copy is reallocated if too small to
the event's size. This adds the potential for the event to move, so if a
copy of the event pointer were stored it could be broken. All the
current users do:
while(event = perf_mmap__read_event()) { ... }
and so they would be broken due to the event being overwritten if they
had stored the pointer. Manual inspection and address sanitizer testing
also shows the event pointer not being stored.
Signed-off-by: Ian Rogers <[email protected] >
Acked-by: Namhyung Kim <[email protected] >
Cc: Adrian Hunter <[email protected] >
Cc: Alexander Shishkin <[email protected] >
Cc: Andi Kleen <[email protected] >
Cc: Athira Jajeev <[email protected] >
Cc: Changbin Du <[email protected] >
Cc: Colin Ian King <[email protected] >
Cc: Dmitrii Dolgov <[email protected] >
Cc: German Gomez <[email protected] >
Cc: Guilherme Amadio <[email protected] >
Cc: Huacai Chen <[email protected] >
Cc: Ingo Molnar <[email protected] >
Cc: James Clark <[email protected] >
Cc: Jiri Olsa <[email protected] >
Cc: K Prateek Nayak <[email protected] >
Cc: Kajol Jain <[email protected] >
Cc: Kan Liang <[email protected] >
Cc: Leo Yan <[email protected] >
Cc: Li Dong <[email protected] >
Cc: Liam Howlett <[email protected] >
Cc: Mark Rutland <[email protected] >
Cc: Masami Hiramatsu (Google) <[email protected] >
Cc: Miguel Ojeda <[email protected] >
Cc: Ming Wang <[email protected] >
Cc: Nick Terrell <[email protected] >
Cc: Paolo Bonzini <[email protected] >
Cc: Peter Zijlstra <[email protected] >
Cc: Ravi Bangoria <[email protected] >
Cc: Sandipan Das <[email protected] >
Cc: Sean Christopherson <[email protected] >
Cc: Steinar H. Gunderson <[email protected] >
Cc: Vincent Whitchurch <[email protected] >
Cc: Wenyu Liu <[email protected] >
Cc: Yang Jihong <[email protected] >
Link: https://lore.kernel.org/r/[email protected]
[ Replace two lines with equivalent zfree(&map->event_copy) ]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected] >
2023-11-30 19:25:19 -03:00
Ian Rogers
78c32f4cb1
libperf rc_check: Add RC_CHK_EQUAL
...
Comparing pointers with reference count checking is tricky to avoid a
SEGV. Add a convenience macro to simplify and use.
Signed-off-by: Ian Rogers <[email protected] >
Cc: K Prateek Nayak <[email protected] >
Cc: Ravi Bangoria <[email protected] >
Cc: Sandipan Das <[email protected] >
Cc: Anshuman Khandual <[email protected] >
Cc: German Gomez <[email protected] >
Cc: James Clark <[email protected] >
Cc: Nick Terrell <[email protected] >
Cc: Sean Christopherson <[email protected] >
Cc: Changbin Du <[email protected] >
Cc: liuwenyu <[email protected] >
Cc: Yang Jihong <[email protected] >
Cc: Masami Hiramatsu <[email protected] >
Cc: Miguel Ojeda <[email protected] >
Cc: Song Liu <[email protected] >
Cc: Leo Yan <[email protected] >
Cc: Kajol Jain <[email protected] >
Cc: Andi Kleen <[email protected] >
Cc: Kan Liang <[email protected] >
Cc: Athira Rajeev <[email protected] >
Cc: Yanteng Si <[email protected] >
Cc: Liam Howlett <[email protected] >
Cc: Paolo Bonzini <[email protected] >
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Namhyung Kim <[email protected] >
2023-10-25 13:37:22 -07:00
Ian Rogers
75265320d2
libperf rc_check: Make implicit enabling work for GCC
...
Make the implicit REFCOUNT_CHECKING robust to when building with GCC.
Fixes: 9be6ab181b ("libperf rc_check: Enable implicitly with sanitizers")
Signed-off-by: Ian Rogers <[email protected] >
Cc: K Prateek Nayak <[email protected] >
Cc: Ravi Bangoria <[email protected] >
Cc: Sandipan Das <[email protected] >
Cc: Anshuman Khandual <[email protected] >
Cc: German Gomez <[email protected] >
Cc: James Clark <[email protected] >
Cc: Nick Terrell <[email protected] >
Cc: Sean Christopherson <[email protected] >
Cc: Changbin Du <[email protected] >
Cc: liuwenyu <[email protected] >
Cc: Yang Jihong <[email protected] >
Cc: Masami Hiramatsu <[email protected] >
Cc: Miguel Ojeda <[email protected] >
Cc: Song Liu <[email protected] >
Cc: Leo Yan <[email protected] >
Cc: Kajol Jain <[email protected] >
Cc: Andi Kleen <[email protected] >
Cc: Kan Liang <[email protected] >
Cc: Athira Rajeev <[email protected] >
Cc: Yanteng Si <[email protected] >
Cc: Liam Howlett <[email protected] >
Cc: Paolo Bonzini <[email protected] >
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Namhyung Kim <[email protected] >
2023-10-25 13:36:50 -07:00
Yang Jihong
f6ff1c7604
perf evlist: Add perf_evlist__go_system_wide() helper
...
For dummy events that keep tracking, we may need to modify its cpu_maps.
For example, change the cpu_maps to record sideband events for all CPUS.
Add perf_evlist__go_system_wide() helper to support this scenario.
Signed-off-by: Yang Jihong <[email protected] >
Acked-by: Adrian Hunter <[email protected] >
Tested-by: Ravi Bangoria <[email protected] >
Cc: Alexander Shishkin <[email protected] >
Cc: Andi Kleen <[email protected] >
Cc: Anshuman Khandual <[email protected] >
Cc: Ian Rogers <[email protected] >
Cc: Ingo Molnar <[email protected] >
Cc: James Clark <[email protected] >
Cc: Jiri Olsa <[email protected] >
Cc: Kan Liang <[email protected] >
Cc: Mark Rutland <[email protected] >
Cc: Namhyung Kim <[email protected] >
Cc: Peter Zijlstra <[email protected] >
Cc: Thomas Richter <[email protected] >
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected] >
2023-09-12 17:31:22 -03:00
Namhyung Kim
c091c78b73
libperf: Get rid of attr.id field
...
Now there's no in-tree user of the field. To remove the possible bug
later, let's get rid of the 'id' field and add a comment for that.
Signed-off-by: Namhyung Kim <[email protected] >
Cc: Adrian Hunter <[email protected] >
Cc: Ian Rogers <[email protected] >
Cc: Ingo Molnar <[email protected] >
Cc: Jiri Olsa <[email protected] >
Cc: Peter Zijlstra <[email protected] >
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected] >
2023-08-29 14:16:14 -03:00
Namhyung Kim
baec60800d
libperf: Add perf_record_header_attr_id()
...
The HEADER_ATTR record has an event attr followed by the id array. But
perf data from a different version could have different size of attr.
So it cannot just use event->attr.id to access the array. Let's add the
perf_record_header_attr_id() macro to calculate the start of the array.
Signed-off-by: Namhyung Kim <[email protected] >
Cc: Adrian Hunter <[email protected] >
Cc: Ian Rogers <[email protected] >
Cc: Ingo Molnar <[email protected] >
Cc: Jiri Olsa <[email protected] >
Cc: Peter Zijlstra <[email protected] >
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected] >
2023-08-29 14:16:14 -03:00
Alexandre Ghiti
159a8bb06f
libperf: Implement riscv mmap support
...
riscv now supports mmaping hardware counters so add what's needed to
take advantage of that in libperf.
Reviewed-by: Andrew Jones <[email protected] >
Reviewed-by: Atish Patra <[email protected] >
Reviewed-by: Ian Rogers <[email protected] >
Signed-off-by: Alexandre Ghiti <[email protected] >
Cc: Albert Ou <[email protected] >
Cc: Alexander Shishkin <[email protected] >
Cc: Anup Patel <[email protected] >
Cc: Atish Patra <[email protected] >
Cc: Ingo Molnar <[email protected] >
Cc: Jiri Olsa <[email protected] >
Cc: Jonathan Corbet <[email protected] >
Cc: Mark Rutland <[email protected] >
Cc: Namhyung Kim <[email protected] >
Cc: Palmer Dabbelt <[email protected] >
Cc: Paul Walmsley <[email protected] >
Cc: Peter Zijlstra <[email protected] >
Cc: Rob Herring <[email protected] >
Cc: Rémi Denis-Courmont <[email protected] >
Cc: Will Deacon <[email protected] >
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected] >
2023-08-16 08:52:47 -03:00
Ian Rogers
ef91871c96
perf evlist: Propagate user CPU maps intersecting core PMU maps
...
The CPU map for a non-core PMU gives a default CPU value for
perf_event_open. For core PMUs the CPU map lists all CPUs the evsel
may be opened on. If there are >1 core PMU, the CPU maps will list the
CPUs for that core PMU, but the user_requested_cpus may contain CPUs
that are invalid for the PMU and cause perf_event_open to fail. To
avoid this, when propagating the CPU map for core PMUs intersect it
with the CPU map of the PMU (the evsel's "own_cpus").
Add comments to __perf_evlist__propagate_maps to explain its somewhat
complex behavior. Fix the related comments for system_wide in struct
perf_evsel.
Reviewed-by: Kan Liang <[email protected] >
Signed-off-by: Ian Rogers <[email protected] >
Cc: Adrian Hunter <[email protected] >
Cc: Alexander Shishkin <[email protected] >
Cc: Ali Saidi <[email protected] >
Cc: Athira Rajeev <[email protected] >
Cc: Dmitrii Dolgov <[email protected] >
Cc: Huacai Chen <[email protected] >
Cc: Ingo Molnar <[email protected] >
Cc: James Clark <[email protected] >
Cc: Jing Zhang <[email protected] >
Cc: Jiri Olsa <[email protected] >
Cc: John Garry <[email protected] >
Cc: Kajol Jain <[email protected] >
Cc: Kang Minchul <[email protected] >
Cc: Leo Yan <[email protected] >
Cc: Madhavan Srinivasan <[email protected] >
Cc: Mark Rutland <[email protected] >
Cc: Mike Leach <[email protected] >
Cc: Ming Wang <[email protected] >
Cc: Namhyung Kim <[email protected] >
Cc: Peter Zijlstra <[email protected] >
Cc: Ravi Bangoria <[email protected] >
Cc: Rob Herring <[email protected] >
Cc: Sandipan Das <[email protected] >
Cc: Sean Christopherson <[email protected] >
Cc: Suzuki Poulouse <[email protected] >
Cc: Thomas Richter <[email protected] >
Cc: Will Deacon <[email protected] >
Cc: Xing Zhengjun <[email protected] >
Cc: [email protected]
Cc: [email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected] >
2023-05-27 09:38:39 -03:00
Ian Rogers
1578e63d3a
perf evsel: Add is_pmu_core inorder to interpret own_cpus
...
The behaviour of handling cpu maps varies for core and other PMUs. For
core PMUs the cpu map lists all valid CPUs, whereas for other PMUs the
map is the default CPU. Add a flag in the evsel to indicate if a PMU
is core to help with later interpreting of the cpu maps and populate
it when the evsel is created during parsing. When propagating cpu
maps, core PMUs should intersect the cpu map of the PMU with the user
requested one.
Reviewed-by: Kan Liang <[email protected] >
Signed-off-by: Ian Rogers <[email protected] >
Cc: Adrian Hunter <[email protected] >
Cc: Alexander Shishkin <[email protected] >
Cc: Ali Saidi <[email protected] >
Cc: Athira Rajeev <[email protected] >
Cc: Dmitrii Dolgov <[email protected] >
Cc: Huacai Chen <[email protected] >
Cc: Ingo Molnar <[email protected] >
Cc: James Clark <[email protected] >
Cc: Jing Zhang <[email protected] >
Cc: Jiri Olsa <[email protected] >
Cc: John Garry <[email protected] >
Cc: Kajol Jain <[email protected] >
Cc: Kang Minchul <[email protected] >
Cc: Leo Yan <[email protected] >
Cc: Madhavan Srinivasan <[email protected] >
Cc: Mark Rutland <[email protected] >
Cc: Mike Leach <[email protected] >
Cc: Ming Wang <[email protected] >
Cc: Namhyung Kim <[email protected] >
Cc: Peter Zijlstra <[email protected] >
Cc: Ravi Bangoria <[email protected] >
Cc: Rob Herring <[email protected] >
Cc: Sandipan Das <[email protected] >
Cc: Sean Christopherson <[email protected] >
Cc: Suzuki Poulouse <[email protected] >
Cc: Thomas Richter <[email protected] >
Cc: Will Deacon <[email protected] >
Cc: Xing Zhengjun <[email protected] >
Cc: [email protected]
Cc: [email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected] >
2023-05-27 09:38:10 -03:00
Ian Rogers
916ce34ac9
libperf cpumap: Add "any CPU"/dummy test function
...
It is common in the code currently to test a map for "empty" when in
fact the "any CPU"/dummy value of -1 is being sought. Add a new
function to enable this and document the behavior of two other
functions.
The term "any CPU" comes from perf_event_open, where the value is
consumed, but it is more typical in the code to see this value/map
referred to as the dummy value. This could be misleading due to the
dummy event and also dummy not being intention revealing, so it is hoped
to migrate the code to referring to this as "any CPU".
Reviewed-by: Kan Liang <[email protected] >
Signed-off-by: Ian Rogers <[email protected] >
Cc: Adrian Hunter <[email protected] >
Cc: Alexander Shishkin <[email protected] >
Cc: Ali Saidi <[email protected] >
Cc: Athira Rajeev <[email protected] >
Cc: Dmitrii Dolgov <[email protected] >
Cc: Huacai Chen <[email protected] >
Cc: Ingo Molnar <[email protected] >
Cc: James Clark <[email protected] >
Cc: Jing Zhang <[email protected] >
Cc: Jiri Olsa <[email protected] >
Cc: John Garry <[email protected] >
Cc: Kajol Jain <[email protected] >
Cc: Kang Minchul <[email protected] >
Cc: Leo Yan <[email protected] >
Cc: Madhavan Srinivasan <[email protected] >
Cc: Mark Rutland <[email protected] >
Cc: Mike Leach <[email protected] >
Cc: Ming Wang <[email protected] >
Cc: Namhyung Kim <[email protected] >
Cc: Peter Zijlstra <[email protected] >
Cc: Ravi Bangoria <[email protected] >
Cc: Rob Herring <[email protected] >
Cc: Sandipan Das <[email protected] >
Cc: Sean Christopherson <[email protected] >
Cc: Suzuki Poulouse <[email protected] >
Cc: Thomas Richter <[email protected] >
Cc: Will Deacon <[email protected] >
Cc: Xing Zhengjun <[email protected] >
Cc: [email protected]
Cc: [email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected] >
2023-05-27 09:37:13 -03:00
Ian Rogers
74c075cab1
perf cpumap: Add equal function
...
Equality is a useful property to compare after merging and
intersecting maps.
Reviewed-by: Kan Liang <[email protected] >
Signed-off-by: Ian Rogers <[email protected] >
Cc: Adrian Hunter <[email protected] >
Cc: Alexander Shishkin <[email protected] >
Cc: Ali Saidi <[email protected] >
Cc: Athira Rajeev <[email protected] >
Cc: Dmitrii Dolgov <[email protected] >
Cc: Huacai Chen <[email protected] >
Cc: Ingo Molnar <[email protected] >
Cc: James Clark <[email protected] >
Cc: Jing Zhang <[email protected] >
Cc: Jiri Olsa <[email protected] >
Cc: John Garry <[email protected] >
Cc: Kajol Jain <[email protected] >
Cc: Kang Minchul <[email protected] >
Cc: Leo Yan <[email protected] >
Cc: Madhavan Srinivasan <[email protected] >
Cc: Mark Rutland <[email protected] >
Cc: Mike Leach <[email protected] >
Cc: Ming Wang <[email protected] >
Cc: Namhyung Kim <[email protected] >
Cc: Peter Zijlstra <[email protected] >
Cc: Ravi Bangoria <[email protected] >
Cc: Rob Herring <[email protected] >
Cc: Sandipan Das <[email protected] >
Cc: Sean Christopherson <[email protected] >
Cc: Suzuki Poulouse <[email protected] >
Cc: Thomas Richter <[email protected] >
Cc: Will Deacon <[email protected] >
Cc: Xing Zhengjun <[email protected] >
Cc: [email protected]
Cc: [email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected] >
2023-05-27 09:36:44 -03:00
Ian Rogers
7d1b529f16
perf cpumap: Add internal nr and cpu accessors
...
These accessors assume the map is non-null. Rewrite functions to use
rather than direct accesses. This also fixes a build regression for
REFCNT_CHECKING in the intersect function.
Suggested-by: Arnaldo Carvalho de Melo <[email protected] >
Signed-off-by: Ian Rogers <[email protected] >
Cc: Adrian Hunter <[email protected] >
Cc: Alexander Shishkin <[email protected] >
Cc: Ali Saidi <[email protected] >
Cc: Athira Rajeev <[email protected] >
Cc: Dmitrii Dolgov <[email protected] >
Cc: Huacai Chen <[email protected] >
Cc: Ingo Molnar <[email protected] >
Cc: James Clark <[email protected] >
Cc: Jing Zhang <[email protected] >
Cc: Jiri Olsa <[email protected] >
Cc: John Garry <[email protected] >
Cc: Kajol Jain <[email protected] >
Cc: Kan Liang <[email protected] >
Cc: Kang Minchul <[email protected] >
Cc: Leo Yan <[email protected] >
Cc: Madhavan Srinivasan <[email protected] >
Cc: Mark Rutland <[email protected] >
Cc: Mike Leach <[email protected] >
Cc: Ming Wang <[email protected] >
Cc: Namhyung Kim <[email protected] >
Cc: Peter Zijlstra <[email protected] >
Cc: Ravi Bangoria <[email protected] >
Cc: Rob Herring <[email protected] >
Cc: Sandipan Das <[email protected] >
Cc: Sean Christopherson <[email protected] >
Cc: Suzuki Poulouse <[email protected] >
Cc: Thomas Richter <[email protected] >
Cc: Will Deacon <[email protected] >
Cc: Xing Zhengjun <[email protected] >
Cc: [email protected]
Cc: [email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected] >
2023-05-27 09:36:03 -03:00
Ian Rogers
237d41d4a2
perf cpumap: Add intersect function
...
The merge function gives the union of two cpu maps. Add an intersect
function which is necessary, for example, when intersecting a PMUs
supported CPUs with user requested.
Reviewed-by: Kan Liang <[email protected] >
Signed-off-by: Ian Rogers <[email protected] >
Cc: Adrian Hunter <[email protected] >
Cc: Alexander Shishkin <[email protected] >
Cc: Ali Saidi <[email protected] >
Cc: Athira Rajeev <[email protected] >
Cc: Dmitrii Dolgov <[email protected] >
Cc: Huacai Chen <[email protected] >
Cc: Ingo Molnar <[email protected] >
Cc: James Clark <[email protected] >
Cc: Jing Zhang <[email protected] >
Cc: Jiri Olsa <[email protected] >
Cc: John Garry <[email protected] >
Cc: Kajol Jain <[email protected] >
Cc: Kang Minchul <[email protected] >
Cc: Leo Yan <[email protected] >
Cc: Madhavan Srinivasan <[email protected] >
Cc: Mark Rutland <[email protected] >
Cc: Mike Leach <[email protected] >
Cc: Ming Wang <[email protected] >
Cc: Namhyung Kim <[email protected] >
Cc: Peter Zijlstra <[email protected] >
Cc: Ravi Bangoria <[email protected] >
Cc: Rob Herring <[email protected] >
Cc: Sandipan Das <[email protected] >
Cc: Sean Christopherson <[email protected] >
Cc: Suzuki Poulouse <[email protected] >
Cc: Thomas Richter <[email protected] >
Cc: Will Deacon <[email protected] >
Cc: Xing Zhengjun <[email protected] >
Cc: [email protected]
Cc: [email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected] >
2023-05-26 22:47:15 -03:00
K Prateek Nayak
4b87406a3b
perf stat record: Save cache level information
...
When aggregating based on cache-topology, in addition to the aggregation
mode, knowing the cache level at which data is aggregated is necessary
to ensure consistency when running 'perf stat record' and later 'perf
stat report'.
Save the cache level for aggregation as a part of the env data that can
be later retrieved when running perf stat report.
Suggested-by: Gautham Shenoy <[email protected] >
Signed-off-by: K Prateek Nayak <[email protected] >
Acked-by: Ian Rogers <[email protected] >
Cc: Alexander Shishkin <[email protected] >
Cc: Ananth Narayan <[email protected] >
Cc: Ingo Molnar <[email protected] >
Cc: Jiri Olsa <[email protected] >
Cc: Mark Rutland <[email protected] >
Cc: Namhyung Kim <[email protected] >
Cc: Peter Zijlstra <[email protected] >
Cc: Ravi Bangoria <[email protected] >
Cc: Sandipan Das <[email protected] >
Cc: Stephane Eranian <[email protected] >
Cc: Wen Pu <[email protected] >
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected] >
2023-05-23 16:10:13 -03:00
K Prateek Nayak
995ed074b8
perf stat: Setup the foundation to allow aggregation based on cache topology
...
Processors based on chiplet architecture, such as AMD EPYC and Hygon do
not expose the chiplet details in the sysfs CPU topology information.
However, this information can be derived from the per CPU cache level
information from the sysfs.
'perf stat' has already supported aggregation based on topology
information using core ID, socket ID, etc. It'll be useful to aggregate
based on the cache topology to detect problems like imbalance and
cache-to-cache sharing at various cache levels.
This patch lays the foundation for aggregating data in 'perf stat' based
on the processor's cache topology. The cmdline option to aggregate data
based on the cache topology is added in Patch 4 of the series while this
patch sets up all the necessary functions and variables required to
support the new aggregation option.
The patch also adds support to display per-cache aggregation, or save it
as a JSON or CSV, as splitting it into a separate patch would break
builds when compiling with "-Werror=switch-enum" where the compiler will
complain about the lack of handling for the AGGR_CACHE case in the
output functions.
Committer notes:
Don't use perf_stat_config in tools/perf/util/cpumap.c, this would make
code that is in util/, thus not really specific to a single builtin, use
a specific builtin config structure.
Move the functions introduced in this patch from
tools/perf/util/cpumap.c since it needs access to builtin specific
and is not strictly needed to live in the util/ directory.
With this 'perf test python' is back building.
Suggested-by: Gautham Shenoy <[email protected] >
Signed-off-by: K Prateek Nayak <[email protected] >
Acked-by: Ian Rogers <[email protected] >
Cc: Alexander Shishkin <[email protected] >
Cc: Ananth Narayan <[email protected] >
Cc: Ingo Molnar <[email protected] >
Cc: Jiri Olsa <[email protected] >
Cc: Mark Rutland <[email protected] >
Cc: Namhyung Kim <[email protected] >
Cc: Peter Zijlstra <[email protected] >
Cc: Ravi Bangoria <[email protected] >
Cc: Sandipan Das <[email protected] >
Cc: Stephane Eranian <[email protected] >
Cc: Wen Pu <[email protected] >
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected] >
2023-05-23 16:08:08 -03:00
Ian Rogers
9be6ab181b
libperf rc_check: Enable implicitly with sanitizers
...
If using leak sanitizer then implicitly enable reference count checking.
Signed-off-by: Ian Rogers <[email protected] >
Cc: Adrian Hunter <[email protected] >
Cc: Alexander Shishkin <[email protected] >
Cc: Ingo Molnar <[email protected] >
Cc: Jiri Olsa <[email protected] >
Cc: Mark Rutland <[email protected] >
Cc: Namhyung Kim <[email protected] >
Cc: Peter Zijlstra <[email protected] >
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected] >
2023-04-20 15:12:02 -03:00
Ian Rogers
da885a0e5e
perf cpumap: Add reference count checking
...
Enabled when REFCNT_CHECKING is defined. The change adds a memory
allocated pointer that is interposed between the reference counted cpu
map at a get and freed by a put. The pointer replaces the original
perf_cpu_map struct, so use of the perf_cpu_map via APIs remains
unchanged. Any use of the cpu map without the API requires two versions,
handled via the RC_CHK_ACCESS macro.
This change is intended to catch:
- use after put: using a cpumap after you have put it will cause a
segv.
- unbalanced puts: two puts for a get will result in a double free
that can be captured and reported by tools like address sanitizer,
including with the associated stack traces of allocation and frees.
- missing puts: if a put is missing then the get turns into a memory
leak that can be reported by leak sanitizer, including the stack
trace at the point the get occurs.
Cc: Adrian Hunter <[email protected] >
Cc: Alexander Shishkin <[email protected] >
Cc: Alexey Bayduraev <[email protected] >
Cc: Andi Kleen <[email protected] >
Cc: Andrew Morton <[email protected] >
Cc: Andy Shevchenko <[email protected] >
Cc: Darren Hart <[email protected] >
Cc: Davidlohr Bueso <[email protected] >
Cc: Dmitriy Vyukov <[email protected] >
Cc: Eric Dumazet <[email protected] >
Cc: German Gomez <[email protected] >
Cc: Hao Luo <[email protected] >
Cc: Ingo Molnar <[email protected] >
Cc: James Clark <[email protected] >
Cc: Jiri Olsa <[email protected] >
Cc: John Garry <[email protected] >
Cc: Kajol Jain <[email protected] >
Cc: Kan Liang <[email protected] >
Cc: Leo Yan <[email protected] >
Cc: Madhavan Srinivasan <[email protected] >
Cc: Mark Rutland <[email protected] >
Cc: Masami Hiramatsu <[email protected] >
Cc: Miaoqian Lin <[email protected] >
Cc: Namhyung Kim <[email protected] >
Cc: Peter Zijlstra <[email protected] >
Cc: Riccardo Mancini <[email protected] >
Cc: Shunsuke Nakamura <[email protected] >
Cc: Song Liu <[email protected] >
Cc: Stephen Brennan <[email protected] >
Cc: Steven Rostedt (VMware) <[email protected] >
Cc: Thomas Gleixner <[email protected] >
Cc: Thomas Richter <[email protected] >,
Cc: Yury Norov <[email protected] >
Link: https://lore.kernel.org/lkml/[email protected]
[ Extracted from a larger patch ]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected] >
2023-04-17 16:50:02 -03:00
Ian Rogers
a9b867f68e
libperf: Add reference count checking macros
...
The macros serve as a way to debug use of a reference counted struct.
The macros add a memory allocated pointer that is interposed between
the reference counted original struct at a get and freed by a put.
The pointer replaces the original struct, so use of the struct name
via APIs remains unchanged.
Signed-off-by: Ian Rogers <[email protected] >
Cc: Adrian Hunter <[email protected] >
Cc: Alexander Shishkin <[email protected] >
Cc: Alexey Bayduraev <[email protected] >
Cc: Andi Kleen <[email protected] >
Cc: Andrew Morton <[email protected] >
Cc: Andy Shevchenko <[email protected] >
Cc: Darren Hart <[email protected] >
Cc: Davidlohr Bueso <[email protected] >
Cc: Dmitriy Vyukov <[email protected] >
Cc: Eric Dumazet <[email protected] >
Cc: German Gomez <[email protected] >
Cc: Hao Luo <[email protected] >
Cc: James Clark <[email protected] >
Cc: Jiri Olsa <[email protected] >
Cc: John Garry <[email protected] >
Cc: Kajol Jain <[email protected] >
Cc: Kan Liang <[email protected] >
Cc: Leo Yan <[email protected] >
Cc: Madhavan Srinivasan <[email protected] >
Cc: Mark Rutland <[email protected] >
Cc: Masami Hiramatsu <[email protected] >
Cc: Miaoqian Lin <[email protected] >
Cc: Namhyung Kim <[email protected] >
Cc: Peter Zijlstra <[email protected] >
Cc: Riccardo Mancini <[email protected] >
Cc: Shunsuke Nakamura <[email protected] >
Cc: Song Liu <[email protected] >
Cc: Stephane Eranian <[email protected] >
Cc: Stephen Brennan <[email protected] >
Cc: Steven Rostedt (VMware) <[email protected] >
Cc: Thomas Gleixner <[email protected] >
Cc: Thomas Richter <[email protected] >
Cc: Yury Norov <[email protected] >
Link: http://lore.kernel.org/lkml/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected] >
2023-04-17 15:53:01 -03:00
Arnaldo Carvalho de Melo
4121234a32
libperf: Add perf_cpu_map__refcnt() interanl accessor to use in the maps test
...
To remove one more direct access to 'struct perf_cpu_map' so that we can
intercept accesses to its instantiations and refcount check it to catch
use after free, etc.
Cc: Adrian Hunter <[email protected] >
Cc: Alexey Bayduraev <[email protected] >
Cc: Dmitriy Vyukov <[email protected] >
Cc: Ian Rogers <[email protected] >
Cc: Jiri Olsa <[email protected] >
Cc: Namhyung Kim <[email protected] >
Cc: Riccardo Mancini <[email protected] >
Cc: Stephane Eranian <[email protected] >
Cc: Stephen Brennan <[email protected] >
Link: https://lore.kernel.org/lkml/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected] >
2023-04-17 15:52:36 -03:00
Arnaldo Carvalho de Melo
b277851417
libperf: Add a perf_cpu_map__set_nr() available as an internal function for tools/perf to use
...
We'll need to reference count check 'struct perf_cpu_map', so wrap
accesses to its internal state to allow intercepting accesses to its
instances.
Cc: Adrian Hunter <[email protected] >
Cc: Alexey Bayduraev <[email protected] >
Cc: Dmitriy Vyukov <[email protected] >
Cc: Ian Rogers <[email protected] >
Cc: Jiri Olsa <[email protected] >
Cc: Namhyung Kim <[email protected] >
Cc: Riccardo Mancini <[email protected] >
Cc: Stephane Eranian <[email protected] >
Cc: Stephen Brennan <[email protected] >
Link: https://lore.kernel.org/
Signed-off-by: Arnaldo Carvalho de Melo <[email protected] >
2023-04-12 14:53:35 -03:00
Ian Rogers
1f94479edb
libperf: Make perf_cpu_map__alloc() available as an internal function for tools/perf to use
...
We had the open coded equivalent in perf_cpu_map__empty_new(), so reuse
what is in libperf.
Signed-off-by: Ian Rogers <[email protected] >
Cc: Adrian Hunter <[email protected] >
Cc: Alexey Bayduraev <[email protected] >
Cc: Dmitriy Vyukov <[email protected] >
Cc: Jiri Olsa <[email protected] >
Cc: Namhyung Kim <[email protected] >
Cc: Riccardo Mancini <[email protected] >
Cc: Stephane Eranian <[email protected] >
Cc: Stephen Brennan <[email protected] >
Link: https://lore.kernel.org/lkml/[email protected]
[ Split from a larger patch ]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected] >
2023-04-12 14:44:24 -03:00
Namhyung Kim
27c6f2455b
perf record: Record dropped sample count
...
When it uses bpf filters, event might drop some samples. It'd be nice
if it can report how many samples it lost. As LOST_SAMPLES event can
carry the similar information, let's use it for bpf filters.
To indicate it's from BPF filters, add a new misc flag for that and
do not display cpu load warnings.
Signed-off-by: Namhyung Kim <[email protected] >
Acked-by: Jiri Olsa <[email protected] >
Cc: Adrian Hunter <[email protected] >
Cc: Andi Kleen <[email protected] >
Cc: Hao Luo <[email protected] >
Cc: Ian Rogers <[email protected] >
Cc: Ingo Molnar <[email protected] >
Cc: James Clark <[email protected] >
Cc: Kan Liang <[email protected] >
Cc: Leo Yan <[email protected] >
Cc: Peter Zijlstra <[email protected] >
Cc: Ravi Bangoria <[email protected] >
Cc: Song Liu <[email protected] >
Cc: Stephane Eranian <[email protected] >
Cc: [email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected] >
2023-03-15 11:08:35 -03:00
Ian Rogers
9d2dc632e0
perf evlist: Remove nr_groups
...
Maintaining the number of groups during event parsing is problematic
and since changing to sort/regroup events can only be computed by a
linear pass over the evlist. As the value is generally only used in
tests, rather than hold it in a variable compute it by passing over
the evlist when necessary.
This change highlights that libpfm's counting of groups with a single
entry disagreed with regular event parsing. The libpfm tests are
updated accordingly.
Signed-off-by: Ian Rogers <[email protected] >
Cc: Adrian Hunter <[email protected] >
Cc: Alexander Shishkin <[email protected] >
Cc: Florian Fischer <[email protected] >
Cc: Ingo Molnar <[email protected] >
Cc: James Clark <[email protected] >
Cc: Jiri Olsa <[email protected] >
Cc: John Garry <[email protected] >
Cc: Kajol Jain <[email protected] >
Cc: Kan Liang <[email protected] >
Cc: Kim Phillips <[email protected] >
Cc: Leo Yan <[email protected] >
Cc: Mark Rutland <[email protected] >
Cc: Namhyung Kim <[email protected] >
Cc: Peter Zijlstra <[email protected] >
Cc: Ravi Bangoria <[email protected] >
Cc: Sean Christopherson <[email protected] >
Cc: Steinar H. Gunderson <[email protected] >
Cc: Stephane Eranian <[email protected] >
Cc: Suzuki Poulouse <[email protected] >
Cc: Xing Zhengjun <[email protected] >
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected] >
2023-03-13 17:42:27 -03:00
Ian Rogers
5dd827e0fa
libperf evlist: Avoid a use of evsel idx
...
Setting the leader iterates the list, so rather than use idx (which
may be changed through list reordering) just count the elements and
set afterwards.
Signed-off-by: Ian Rogers <[email protected] >
Cc: Adrian Hunter <[email protected] >
Cc: Alexander Shishkin <[email protected] >
Cc: Florian Fischer <[email protected] >
Cc: Ingo Molnar <[email protected] >
Cc: James Clark <[email protected] >
Cc: Jiri Olsa <[email protected] >
Cc: John Garry <[email protected] >
Cc: Kajol Jain <[email protected] >
Cc: Kan Liang <[email protected] >
Cc: Kim Phillips <[email protected] >
Cc: Leo Yan <[email protected] >
Cc: Mark Rutland <[email protected] >
Cc: Namhyung Kim <[email protected] >
Cc: Peter Zijlstra <[email protected] >
Cc: Ravi Bangoria <[email protected] >
Cc: Sean Christopherson <[email protected] >
Cc: Steinar H. Gunderson <[email protected] >
Cc: Stephane Eranian <[email protected] >
Cc: Suzuki Poulouse <[email protected] >
Cc: Xing Zhengjun <[email protected] >
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected] >
2023-03-13 15:11:34 -03:00
Alexander Gordeev
4ff17c448a
libperf: Fix install_pkgconfig target
...
Commit 47e02b94a4 ("tools lib perf: Add dependency test to install_headers")
misses the notion of $(DESTDIR_SQ) for install_pkgconfig target, which leads to
error:
install: cannot create regular file '/usr/lib64/pkgconfig/libperf.pc': Permission denied
make: *** [Makefile:210: install_pkgconfig] Error 1
Signed-off-by: Alexander Gordeev <[email protected] >
Cc: Alexander Shishkin <[email protected] >
Cc: Ian Rogers <[email protected] >
Cc: Jiri Olsa <[email protected] >
Cc: Josh Poimboeuf <[email protected] >
Cc: Mark Rutland <[email protected] >
Cc: Masahiro Yamada <[email protected] >
Cc: Namhyung Kim <[email protected] >
Cc: Nathan Chancellor <[email protected] >
Cc: Nick Desaulniers <[email protected] >
Cc: Nicolas Schier <[email protected] >
Cc: Peter Zijlstra <[email protected] >
Cc: Stephane Eranian <[email protected] >
Cc: Tom Rix <[email protected] >
Cc: [email protected]
Cc: [email protected]
Link: http://lore.kernel.org/lkml/Y5w/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected] >
2022-12-16 10:04:06 -03:00
Ian Rogers
47e02b94a4
tools lib perf: Add dependency test to install_headers
...
Compute the headers to be installed from their source headers and make
each have its own build target to install it. Using dependencies
avoids headers being reinstalled and getting a new timestamp which
then causes files that depend on the header to be rebuilt.
Signed-off-by: Ian Rogers <[email protected] >
Cc: Alexander Shishkin <[email protected] >
Cc: Ingo Molnar <[email protected] >
Cc: Jiri Olsa <[email protected] >
Cc: Josh Poimboeuf <[email protected] >
Cc: Mark Rutland <[email protected] >
Cc: Masahiro Yamada <[email protected] >
Cc: Namhyung Kim <[email protected] >
Cc: Nathan Chancellor <[email protected] >
Cc: Nick Desaulniers <[email protected] >
Cc: Nicolas Schier <[email protected] >
Cc: Peter Zijlstra <[email protected] >
Cc: Stephane Eranian <[email protected] >
Cc: Tom Rix <[email protected] >
Cc: [email protected]
Cc: [email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected] >
2022-12-14 11:16:12 -03:00
Ian Rogers
e8951bfb4c
tools lib perf: Make install_headers clearer
...
Add libperf to the name so that this install_headers build appears
different to similar targets in different libraries.
Signed-off-by: Ian Rogers <[email protected] >
Cc: Alexander Shishkin <[email protected] >
Cc: Alexei Starovoitov <[email protected] >
Cc: Andrii Nakryiko <[email protected] >
Cc: Daniel Borkmann <[email protected] >
Cc: Hao Luo <[email protected] >
Cc: Ingo Molnar <[email protected] >
Cc: Jiri Olsa <[email protected] >
Cc: John Fastabend <[email protected] >
Cc: KP Singh <[email protected] >
Cc: Mark Rutland <[email protected] >
Cc: Martin KaFai Lau <[email protected] >
Cc: Masahiro Yamada <[email protected] >
Cc: Namhyung Kim <[email protected] >
Cc: Nicolas Schier <[email protected] >
Cc: Peter Zijlstra <[email protected] >
Cc: Song Liu <[email protected] >
Cc: Stanislav Fomichev <[email protected] >
Cc: Stephane Eranian <[email protected] >
Cc: Yonghong Song <[email protected] >
Cc: [email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected] >
2022-11-20 11:32:23 -03:00