[PATCH net-next] bpf/tracing: fix kernel/events/core.c compilation error

2017-12-12 Thread Yonghong Song
Commit f371b304f12e ("bpf/tracing: allow user space to query prog array on the same tp") introduced a perf ioctl command to query prog array attached to the same perf tracepoint. The commit introduced a compilation error when either CONFIG_BPF_SYSCALL or CONFIG_EVENT_TRACING is not defined: kerne

Re: [PATCH net-next] bpf/tracing: fix kernel/events/core.c compilation error

2017-12-13 Thread Daniel Borkmann
On 12/13/2017 08:42 AM, Yonghong Song wrote: > Commit f371b304f12e ("bpf/tracing: allow user space to > query prog array on the same tp") introduced a perf > ioctl command to query prog array attached to the > same perf tracepoint. The commit introduced a > compilation error when either CONFIG_BPF_

Re: [PATCH net-next] bpf/tracing: fix kernel/events/core.c compilation error

2017-12-13 Thread Alexei Starovoitov
On 12/13/17 7:44 AM, Daniel Borkmann wrote: On 12/13/2017 08:42 AM, Yonghong Song wrote: Commit f371b304f12e ("bpf/tracing: allow user space to query prog array on the same tp") introduced a perf ioctl command to query prog array attached to the same perf tracepoint. The commit introduced a comp

Re: [PATCH net-next] bpf/tracing: fix kernel/events/core.c compilation error

2017-12-13 Thread Yonghong Song
On 12/13/17 7:50 AM, Alexei Starovoitov wrote: On 12/13/17 7:44 AM, Daniel Borkmann wrote: On 12/13/2017 08:42 AM, Yonghong Song wrote: Commit f371b304f12e ("bpf/tracing: allow user space to query prog array on the same tp") introduced a perf ioctl command to query prog array attached to the