diff options
| author | Julia Lawall <Julia.Lawall@inria.fr> | 2026-08-02 21:20:51 +0200 |
|---|---|---|
| committer | Julia Lawall <Julia.Lawall@inria.fr> | 2026-08-23 22:12:10 +0200 |
| commit | b64acacd5429ff3fe7c38cb3cf959bbd3a9fb30f (patch) | |
| tree | f89acfe97e9aa1c32791ce1d0b64f5a17cdf7e77 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 5adb3698bbe8f2053afbe046dee8eb184ac78478 (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/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
