summaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorCasey Chen <cachen@purestorage.com>2025-05-13 12:26:02 -0600
committerAndrew Morton <akpm@linux-foundation.org>2025-05-22 14:55:38 -0700
commit780138b123816d717dbc0771d4c87e9a8a01963d (patch)
tree37712ffeef97cf775f803da7da5c22365dd6ab68 /scripts/generate_rust_analyzer.py
parent6a4b3551ba1079e8831fb2821765a49b7fd33dbd (diff)
alloc_tag: check mem_profiling_support in alloc_tag_init
If mem_profiling_support is false, for example by sysctl.vm.mem_profiling=never, alloc_tag_init should skip module tags allocation, codetag type registration and procfs init. Link: https://lkml.kernel.org/r/20250513182602.121843-1-cachen@purestorage.com Signed-off-by: Casey Chen <cachen@purestorage.com> Reviewed-by: Yuanyuan Zhong <yzhong@purestorage.com> Acked-by: Suren Baghdasaryan <surenb@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions