diff options
author | Namhyung Kim <namhyung@kernel.org> | 2023-01-18 09:05:57 +0300 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2023-01-18 13:57:20 +0300 |
commit | a7c8d0daa87581cab8435c83cc6ecbfbcb8b60cf (patch) | |
tree | 1d34b17867f59abd484458018ce7e568b94a5645 /arch/x86/events/intel | |
parent | bb447c27a4674628ea50341cfa4b31618f2010af (diff) | |
download | linux-a7c8d0daa87581cab8435c83cc6ecbfbcb8b60cf.tar.xz |
perf/core: Do not pass header for sample ID init
The only thing it does for header in __perf_event_header__init_id() is
to update the header size with event->id_header_size. We can do this
outside and get rid of the argument for the later change.
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Tested-by: Jiri Olsa <jolsa@kernel.org>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Acked-by: Song Liu <song@kernel.org>
Acked-by: Peter Zijlstra <peterz@infradead.org>
Link: https://lore.kernel.org/r/20230118060559.615653-7-namhyung@kernel.org
Diffstat (limited to 'arch/x86/events/intel')
0 files changed, 0 insertions, 0 deletions