linux-stable/tools/bpf/runqslower
Naveen N. Rao 88a71086c4 tools/bpf: Rename 'struct event' to avoid naming conflict
On ppc64le, trying to build bpf seltests throws the below warning:
  In file included from runqslower.bpf.c:5:
  ./runqslower.h:7:8: error: redefinition of 'event'
  struct event {
	 ^
  /home/naveen/linux/tools/testing/selftests/bpf/tools/build/runqslower/vmlinux.h:156602:8:
  note: previous definition is here
  struct event {
	 ^

This happens since 'struct event' is defined in
drivers/net/ethernet/alteon/acenic.h . Rename the one in runqslower to a
more appropriate 'runq_event' to avoid the naming conflict.

Signed-off-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/c13cb3767d26257ca4387b8296b632b433a58db6.1641468127.git.naveen.n.rao@linux.vnet.ibm.com
2022-01-15 12:21:25 +11:00
..
.gitignore .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
Makefile tools/runqslower: Enable cross-building with clang 2021-12-16 12:15:05 -08:00
runqslower.bpf.c tools/bpf: Rename 'struct event' to avoid naming conflict 2022-01-15 12:21:25 +11:00
runqslower.c tools/bpf: Rename 'struct event' to avoid naming conflict 2022-01-15 12:21:25 +11:00
runqslower.h tools/bpf: Rename 'struct event' to avoid naming conflict 2022-01-15 12:21:25 +11:00