summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2025-01-06 13:26:48 +0300
committerPeter Zijlstra <peterz@infradead.org>2025-01-10 20:16:48 +0300
commita937f384c9da493e526ad896ef4e8054526d2941 (patch)
treec305d4ea2c2d7e4579803fdd3d59bedc294b5f3f /tools/perf/scripts/python/task-analyzer.py
parent630a9370164c231e9e81ec66256fc3351266dcac (diff)
downloadlinux-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