Files
linux/tools/perf/util
Howard Chu 74069a0160 perf record --off-cpu: Dump the remaining PERF_SAMPLE_ in sample_type from BPF's stack trace map
Dump the remaining PERF_SAMPLE_ data, as if it is dumping a direct
sample.

Put the stack trace, tid, off-cpu time and cgroup id into the raw_data
section, just like a direct off-cpu sample coming from BPF's
bpf_perf_event_output().

This ensures that evsel__parse_sample() correctly parses both direct
samples and accumulated samples.

Suggested-by: Namhyung Kim <namhyung@kernel.org>
Reviewed-by: Ian Rogers <irogers@google.com>
Signed-off-by: Howard Chu <howardchu95@gmail.com>
Tested-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Tested-by: Gautam Menghani <gautam@linux.ibm.com>
Tested-by: Ian Rogers <irogers@google.com>
Acked-by: Namhyung Kim <namhyung@kernel.org>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: James Clark <james.clark@linaro.org>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Kan Liang <kan.liang@linux.intel.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: https://lore.kernel.org/r/20241108204137.2444151-10-howardchu95@gmail.com
Link: https://lore.kernel.org/r/20250501022809.449767-9-howardchu95@gmail.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2025-05-05 21:51:43 -03:00
..
2024-12-18 16:24:32 -03:00
2022-06-28 12:05:25 -03:00
2023-03-14 08:29:46 -03:00
2025-01-31 14:45:19 -08:00
2021-04-29 10:30:58 -03:00
2024-03-21 10:41:28 -03:00
2021-08-11 09:35:44 -03:00
2024-08-19 14:52:13 -03:00
2024-08-19 14:52:13 -03:00
2025-02-18 14:04:32 -08:00
2025-05-05 21:49:08 -03:00
2023-01-23 10:00:47 -03:00
2024-08-12 18:05:14 -03:00
2025-05-02 15:36:14 -03:00
2025-05-02 15:36:14 -03:00
2024-08-19 14:51:46 -03:00
2025-02-17 22:00:50 -08:00
2024-02-12 12:35:41 -08:00
2025-05-02 15:36:14 -03:00
2025-05-02 15:36:14 -03:00
2025-02-10 11:46:02 -08:00
2025-04-29 22:30:46 -03:00
2025-04-29 22:30:46 -03:00
2023-04-06 21:40:28 -03:00
2023-09-12 17:47:00 -03:00
2025-01-14 14:57:19 -03:00
2025-03-10 11:31:24 -07:00
2025-03-10 11:31:24 -07:00
2025-03-24 09:38:20 -07:00
2025-05-02 15:36:14 -03:00
2024-12-12 15:53:36 -03:00
2025-02-18 14:04:32 -08:00
2023-04-10 19:20:53 -03:00
2024-09-27 15:38:52 -03:00