lkml.org 
[lkml]   [2020]   [Mar]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: linux-next: Tree for Mar 5 (bpf_trace)
On Thu, Mar 5, 2020 at 9:32 AM KP Singh <kpsingh@chromium.org> wrote:
>
> This fails as we added bpf_test_run_tracing in net/bpf/test_run.c
> which gets built only CONFIG_NET is enabled. Which, this particular
> config, disables.
>
> Alexei, if it's okay with you. I can send a patch that separates the
> tracing test code into kernel/bpf/test_run_trace.c which depends
> only on CONFIG_BPF_SYSCALL.

In such situation we typically add __weak dummy call.
May be split will work too.
or move tracing_prog_ops to kernel/bpf/core.c ?

\
 
 \ /
  Last update: 2020-03-05 18:39    [W:0.052 / U:0.104 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site