diff options
| author | Suren Baghdasaryan <[email protected]> | 2024-05-14 16:31:28 +0000 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2024-05-24 18:55:05 +0000 |
| commit | a38568a0b46d4a0dbe48f4642cbe2f885c525643 (patch) | |
| tree | ecd4ec26b30303f4d729ac9371f7178588946e2e /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | mm/vmalloc: fix vmalloc which may return null if called with __GFP_NOFAIL (diff) | |
| download | kernel-a38568a0b46d4a0dbe48f4642cbe2f885c525643.tar.gz kernel-a38568a0b46d4a0dbe48f4642cbe2f885c525643.zip | |
lib: add version into /proc/allocinfo output
Add version string and a header at the beginning of /proc/allocinfo to
allow later format changes. Example output:
> head /proc/allocinfo
allocinfo - version: 1.0
# <size> <calls> <tag info>
0 0 init/main.c:1314 func:do_initcalls
0 0 init/do_mounts.c:353 func:mount_nodev_root
0 0 init/do_mounts.c:187 func:mount_root_generic
0 0 init/do_mounts.c:158 func:do_mount_root
0 0 init/initramfs.c:493 func:unpack_to_rootfs
0 0 init/initramfs.c:492 func:unpack_to_rootfs
0 0 init/initramfs.c:491 func:unpack_to_rootfs
512 1 arch/x86/events/rapl.c:681 func:init_rapl_pmus
128 1 arch/x86/events/rapl.c:571 func:rapl_cpu_online
[[email protected]: remove stray newline from struct allocinfo_private]
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Suren Baghdasaryan <[email protected]>
Reviewed-by: Pasha Tatashin <[email protected]>
Reviewed-by: Kees Cook <[email protected]>
Cc: Kent Overstreet <[email protected]>
Cc: Vlastimil Babka <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions
