netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH bpf] samples/bpf: fix build for task_fd_query_user.c
@ 2019-10-01 11:22 Björn Töpel
  2019-10-02 18:46 ` Song Liu
  0 siblings, 1 reply; 4+ messages in thread
From: Björn Töpel @ 2019-10-01 11:22 UTC (permalink / raw)
  To: netdev, ast, daniel; +Cc: Björn Töpel, bpf

From: Björn Töpel <bjorn.topel@intel.com>

Add missing "linux/perf_event.h" include file.

Signed-off-by: Björn Töpel <bjorn.topel@intel.com>
---
 samples/bpf/task_fd_query_user.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/samples/bpf/task_fd_query_user.c b/samples/bpf/task_fd_query_user.c
index e39938058223..4c31b305e6ef 100644
--- a/samples/bpf/task_fd_query_user.c
+++ b/samples/bpf/task_fd_query_user.c
@@ -13,6 +13,7 @@
 #include <sys/resource.h>
 #include <sys/types.h>
 #include <sys/stat.h>
+#include <linux/perf_event.h>
 
 #include "libbpf.h"
 #include "bpf_load.h"
-- 
2.20.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH bpf] samples/bpf: fix build for task_fd_query_user.c
  2019-10-01 11:22 [PATCH bpf] samples/bpf: fix build for task_fd_query_user.c Björn Töpel
@ 2019-10-02 18:46 ` Song Liu
  2019-10-02 21:02   ` KP Singh
  0 siblings, 1 reply; 4+ messages in thread
From: Song Liu @ 2019-10-02 18:46 UTC (permalink / raw)
  To: Björn Töpel
  Cc: Networking, Alexei Starovoitov, Daniel Borkmann,
	Björn Töpel, bpf

On Tue, Oct 1, 2019 at 4:26 AM Björn Töpel <bjorn.topel@gmail.com> wrote:
>
> From: Björn Töpel <bjorn.topel@intel.com>
>
> Add missing "linux/perf_event.h" include file.
>
> Signed-off-by: Björn Töpel <bjorn.topel@intel.com>

Acked-by: Song Liu <songliubraving@fb.com>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH bpf] samples/bpf: fix build for task_fd_query_user.c
  2019-10-02 18:46 ` Song Liu
@ 2019-10-02 21:02   ` KP Singh
  2019-10-03 14:54     ` Daniel Borkmann
  0 siblings, 1 reply; 4+ messages in thread
From: KP Singh @ 2019-10-02 21:02 UTC (permalink / raw)
  To: Song Liu
  Cc: Björn Töpel, Networking, Alexei Starovoitov,
	Daniel Borkmann, Björn Töpel, bpf

On Wed, Oct 2, 2019 at 8:46 PM Song Liu <liu.song.a23@gmail.com> wrote:
>
> On Tue, Oct 1, 2019 at 4:26 AM Björn Töpel <bjorn.topel@gmail.com> wrote:
> >
> > From: Björn Töpel <bjorn.topel@intel.com>
> >
> > Add missing "linux/perf_event.h" include file.
> >
> > Signed-off-by: Björn Töpel <bjorn.topel@intel.com>
>
> Acked-by: Song Liu <songliubraving@fb.com>

Tested-by: KP Singh <kpsingh@google.com>

(https://lore.kernel.org/bpf/20191002185233.GA3650@chromium.org/T/#t)

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH bpf] samples/bpf: fix build for task_fd_query_user.c
  2019-10-02 21:02   ` KP Singh
@ 2019-10-03 14:54     ` Daniel Borkmann
  0 siblings, 0 replies; 4+ messages in thread
From: Daniel Borkmann @ 2019-10-03 14:54 UTC (permalink / raw)
  To: KP Singh
  Cc: Song Liu, Björn Töpel, Networking, Alexei Starovoitov,
	Björn Töpel, bpf

On Wed, Oct 02, 2019 at 11:02:09PM +0200, KP Singh wrote:
> On Wed, Oct 2, 2019 at 8:46 PM Song Liu <liu.song.a23@gmail.com> wrote:
> > On Tue, Oct 1, 2019 at 4:26 AM Björn Töpel <bjorn.topel@gmail.com> wrote:
> > >
> > > From: Björn Töpel <bjorn.topel@intel.com>
> > >
> > > Add missing "linux/perf_event.h" include file.
> > >
> > > Signed-off-by: Björn Töpel <bjorn.topel@intel.com>
> >
> > Acked-by: Song Liu <songliubraving@fb.com>
> 
> Tested-by: KP Singh <kpsingh@google.com>
> 
> (https://lore.kernel.org/bpf/20191002185233.GA3650@chromium.org/T/#t)

Applied, thanks! Given also KP and Florent sent a similar patch earlier,
I've added Reported-by and improved the commit message a bit to something
more useful with regards to *why* we suddenly need to add the include.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-10-03 14:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-01 11:22 [PATCH bpf] samples/bpf: fix build for task_fd_query_user.c Björn Töpel
2019-10-02 18:46 ` Song Liu
2019-10-02 21:02   ` KP Singh
2019-10-03 14:54     ` Daniel Borkmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).