diff options
author | Peter Zijlstra <peterz@infradead.org> | 2025-01-06 13:26:48 +0300 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2025-01-10 20:16:48 +0300 |
commit | a937f384c9da493e526ad896ef4e8054526d2941 (patch) | |
tree | c305d4ea2c2d7e4579803fdd3d59bedc294b5f3f /tools/perf/scripts/python/task-analyzer.py | |
parent | 630a9370164c231e9e81ec66256fc3351266dcac (diff) | |
download | linux-a937f384c9da493e526ad896ef4e8054526d2941.tar.xz |
cleanup, tags: Create tags for the cleanup primitives
Oleg reported that it is hard to find the definition of things like:
__free(argv) without having to do 'git grep "DEFINE_FREE(argv,"'.
Add tag generation for the various macros in cleanup.h.
Notably 'DEFINE_FREE(argv, ...)' will now generate a 'cleanup_argv'
tag, while all the others, eg. 'DEFINE_GUARD(mutex, ...)' will
generate 'class_mutex' like tags.
Reported-by: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20250106102647.GB20870@noisy.programming.kicks-ass.net
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions