perf trace: Avoid compile error wrt redefining bool
authorIan Rogers <irogers@google.com>
Wed, 13 Sep 2023 18:49:57 +0000 (11:49 -0700)
committerNamhyung Kim <namhyung@kernel.org>
Sun, 17 Sep 2023 22:51:32 +0000 (15:51 -0700)
commit33b725ce7b9887569749fbbcdafc4ab089a09741
treec3280c363ccf9e2718b9d93b6761ac3fe719e4f2
parent4a73fca226925d5cae8ee032d37e9de637b25ed6
perf trace: Avoid compile error wrt redefining bool

Make part of an existing TODO conditional to avoid the following build
error:
```
tools/perf/util/bpf_skel/augmented_raw_syscalls.bpf.c:26:14: error: cannot combine with previous 'char' declaration specifier
   26 | typedef char bool;
      |              ^
include/stdbool.h:20:14: note: expanded from macro 'bool'
   20 | #define bool _Bool
      |              ^
tools/perf/util/bpf_skel/augmented_raw_syscalls.bpf.c:26:1: error: typedef requires a name [-Werror,-Wmissing-declarations]
   26 | typedef char bool;
      | ^~~~~~~~~~~~~~~~~
2 errors generated.
```

Signed-off-by: Ian Rogers <irogers@google.com>
Cc: Leo Yan <leo.yan@linaro.org>
Cc: bpf@vger.kernel.org
Link: https://lore.kernel.org/r/20230913184957.230076-1-irogers@google.com
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
tools/perf/util/bpf_skel/augmented_raw_syscalls.bpf.c