aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung@kernel.org>2022-12-29 12:40:59 -0800
committerIngo Molnar <mingo@kernel.org>2023-01-09 12:22:09 +0100
commit7bdb1767bf011c7f6065ac483ad2f00e434c3979 (patch)
tree57aa387d8cfa4f2e2dce6e09be8e044bc44a4838 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentperf/x86/msr: Add Meteor Lake support (diff)
downloadwireguard-linux-7bdb1767bf011c7f6065ac483ad2f00e434c3979.tar.xz
wireguard-linux-7bdb1767bf011c7f6065ac483ad2f00e434c3979.zip
perf/core: Change the layout of perf_sample_data
The layout of perf_sample_data is designed to minimize cache-line access. The perf_sample_data_init() used to initialize a couple of fields unconditionally so they were placed together at the head. But it's changed now to set the fields according to the actual sample_type flags. The main user (the perf tools) sets the IP, TID, TIME, PERIOD always. Also group relevant fields like addr, phys_addr and data_page_size. Suggested-by: Peter Zijlstra <peterz@infradead.org> Signed-off-by: Namhyung Kim <namhyung@kernel.org> Signed-off-by: Ingo Molnar <mingo@kernel.org> Link: https://lore.kernel.org/r/20221229204101.1099430-1-namhyung@kernel.org
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions