OSDN Git Service

samples/bpf: unify bpf program suffix to .bpf with tracing programs
authorDaniel T. Lee <danieltimlee@gmail.com>
Fri, 18 Aug 2023 09:01:13 +0000 (18:01 +0900)
committerAlexei Starovoitov <ast@kernel.org>
Mon, 21 Aug 2023 22:39:09 +0000 (15:39 -0700)
commit4a0ee78890699706f59cc9bdf8283ecaa4e0a141
treeb8bde98ddaf00497ce97b2df14735b224bc2d1ef
parente7e6c774f5d40244444f23b8c49dac2ded158d8c
samples/bpf: unify bpf program suffix to .bpf with tracing programs

Currently, BPF programs typically have a suffix of .bpf.c. However,
some programs still utilize a mixture of _kern.c suffix alongside the
naming convention. In order to achieve consistency in the naming of
these programs, this commit unifies the inconsistency in the naming
convention of BPF kernel programs.

Signed-off-by: Daniel T. Lee <danieltimlee@gmail.com>
Link: https://lore.kernel.org/r/20230818090119.477441-4-danieltimlee@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
17 files changed:
samples/bpf/Makefile
samples/bpf/offwaketime.bpf.c [moved from samples/bpf/offwaketime_kern.c with 100% similarity]
samples/bpf/offwaketime_user.c
samples/bpf/spintest.bpf.c [moved from samples/bpf/spintest_kern.c with 100% similarity]
samples/bpf/spintest_user.c
samples/bpf/tracex1.bpf.c [moved from samples/bpf/tracex1_kern.c with 100% similarity]
samples/bpf/tracex1_user.c
samples/bpf/tracex3.bpf.c [moved from samples/bpf/tracex3_kern.c with 100% similarity]
samples/bpf/tracex3_user.c
samples/bpf/tracex4.bpf.c [moved from samples/bpf/tracex4_kern.c with 100% similarity]
samples/bpf/tracex4_user.c
samples/bpf/tracex5.bpf.c [moved from samples/bpf/tracex5_kern.c with 100% similarity]
samples/bpf/tracex5_user.c
samples/bpf/tracex6.bpf.c [moved from samples/bpf/tracex6_kern.c with 100% similarity]
samples/bpf/tracex6_user.c
samples/bpf/tracex7.bpf.c [moved from samples/bpf/tracex7_kern.c with 100% similarity]
samples/bpf/tracex7_user.c