]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
perf build: Warn for BPF skeletons if endian mismatches
authorIan Rogers <irogers@google.com>
Mon, 10 Apr 2023 16:09:05 +0000 (09:09 -0700)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 10 Apr 2023 22:23:26 +0000 (19:23 -0300)
commit51924ae69eea5bc90b5da525fbcf4bbd5f8551b3
treed37a105fc1df7c279193680034655f037912d627
parentea0c52399d99d2e48cafdf97e2d8589bf8beb7c2
perf build: Warn for BPF skeletons if endian mismatches

Done as a warning as I'm not fully confident of the test's robustness
of comparing the macro definition of __BYTE_ORDER__.

v2. Is a rebase following patch 1 being merged.

Signed-off-by: Ian Rogers <irogers@google.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Andrii Nakryiko <andrii@kernel.org>
Cc: Ian Rogers <irogers@google.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: https://lore.kernel.org/r/20230410160905.3052640-1-irogers@google.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/Makefile.config