diff options
| author | Steven Rostedt <rostedt@goodmis.org> | 2025-06-13 01:20:23 +0300 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2025-06-13 05:36:53 +0300 |
| commit | 16f3c7ad887c1f8fd698ab568b5851cadb65b5a8 (patch) | |
| tree | 52b5d7836f1205f047844a95d28c484eb550f927 /net/lapb/lapb_subr.c | |
| parent | a9a5f41b04dd137a353d4d1d6fc7d6e80aaad193 (diff) | |
| download | linux-16f3c7ad887c1f8fd698ab568b5851cadb65b5a8.tar.xz | |
xdp: tracing: Hide some xdp events under CONFIG_BPF_SYSCALL
The events xdp_cpumap_kthread, xdp_cpumap_enqueue and xdp_devmap_xmit are
only called when CONFIG_BPF_SYSCALL is defined. As each event can take up
to 5K regardless if they are used or not, it's best not to define them
when they are not used. Add #ifdef around these events when they are not
used.
Acked-by: Jesper Dangaard Brouer <hawk@kernel.org>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Link: https://lore.kernel.org/r/20250612182023.78397b76@batman.local.home
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions
