summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorJulia Lawall <Julia.Lawall@inria.fr>2026-08-02 21:20:51 +0200
committerJulia Lawall <Julia.Lawall@inria.fr>2026-08-23 22:12:10 +0200
commitb64acacd5429ff3fe7c38cb3cf959bbd3a9fb30f (patch)
treef89acfe97e9aa1c32791ce1d0b64f5a17cdf7e77 /tools/perf/scripts/python/flamegraph.py
parent5adb3698bbe8f2053afbe046dee8eb184ac78478 (diff)
coccinelle: api: check for macro context
A cast on a call to an allocation function that is the body of a macro can be useful, as it ensures tha the macro is used for allocating objects of the right type. Add two new rules to ignore the macro case. Suggested-by: Steven Rostedt <rostedt@goodmis.org> Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions