diff options
| author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2021-09-28 14:15:01 -0300 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2021-09-28 14:15:01 -0300 |
| commit | 0e46c8307574a8e2dac8d7ba97e0f6f4bbee67a5 (patch) | |
| tree | 06c3062d47477afddab34f7d2b2452def1e336eb /scripts/gdb/linux/proc.py | |
| parent | 0ba37e05c240c7b38e5a327a96f404798a8698ff (diff) | |
perf jevents: Add __maybe_unused attribute to unused function arg
The tools/perf/pmu-events/jevents.c file isn't being compiled with
-Werror and -Wextra, which will be the case soon, so before we turn
those compiler flags on, fix what it would flag.
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Like Xu <like.xu.linux@gmail.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
To: John Garry <john.garry@huawei.com>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions
