diff options
author | Suren Baghdasaryan <[email protected]> | 2024-06-01 16:38:31 -0700 |
---|---|---|
committer | Andrew Morton <[email protected]> | 2024-06-15 10:43:05 -0700 |
commit | c944bf60c16a65ae812a59fd1b66f6c9e18c91c9 (patch) | |
tree | 0db03ec7f293a7edbcae1b0c21c1fe04952159d2 /tools/perf/scripts/python/parallel-perf.py | |
parent | 3ab85f4046c12fb773084c2974cd7bbe8a3e2e68 (diff) |
lib/alloc_tag: do not register sysctl interface when CONFIG_SYSCTL=n
Memory allocation profiling is trying to register sysctl interface even
when CONFIG_SYSCTL=n, resulting in proc_do_static_key() being undefined.
Prevent that by skipping sysctl registration for such configurations.
Link: https://lkml.kernel.org/r/[email protected]
Fixes: 22d407b164ff ("lib: add allocation tagging support for memory allocation profiling")
Signed-off-by: Suren Baghdasaryan <[email protected]>
Reported-by: kernel test robot <[email protected]>
Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
Acked-by: Vlastimil Babka <[email protected]>
Cc: Kent Overstreet <[email protected]>
Cc: Kees Cook <[email protected]>
Cc: Pasha Tatashin <[email protected]>
Cc: Suren Baghdasaryan <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions