netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] perf tools: optional compile time test_attr__* depenency for perf-sys.h
@ 2019-10-01 11:33 Björn Töpel
  2019-10-01 11:33 ` [PATCH 1/2] perf tools: Make usage of test_attr__* optional " Björn Töpel
  2019-10-01 11:33 ` [PATCH 2/2] samples/bpf: fix build by setting HAVE_ATTR_TEST to zero Björn Töpel
  0 siblings, 2 replies; 10+ messages in thread
From: Björn Töpel @ 2019-10-01 11:33 UTC (permalink / raw)
  To: linux-kernel, acme
  Cc: Björn Töpel, netdev, bpf, ast, daniel, adrian.hunter,
	jolsa, namhyung

This mini series makes it possible to disable the use of test_attr__*
for perf-sys.h users outside perf. E.g., samples/bpf/ uses perf-sys.h
as a syscall wrapper.

Now a user can define HAVE_ATTR_TEST to zero to avoid this, and as a
nice side-effect it also fixes the samples/bpf/ build. ;-)

Björn Töpel (2):
  perf tools: Make usage of test_attr__* optional for perf-sys.h
  samples/bpf: fix build by setting HAVE_ATTR_TEST to zero

 samples/bpf/Makefile  | 1 +
 tools/perf/perf-sys.h | 6 ++++--
 2 files changed, 5 insertions(+), 2 deletions(-)

-- 
2.20.1


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

end of thread, other threads:[~2019-10-15  5:33 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-01 11:33 [PATCH 0/2] perf tools: optional compile time test_attr__* depenency for perf-sys.h Björn Töpel
2019-10-01 11:33 ` [PATCH 1/2] perf tools: Make usage of test_attr__* optional " Björn Töpel
2019-10-02 21:00   ` Song Liu
2019-10-03 13:50   ` Arnaldo Carvalho de Melo
2019-10-15  5:31   ` [tip: perf/core] " tip-bot2 for Björn Töpel
2019-10-01 11:33 ` [PATCH 2/2] samples/bpf: fix build by setting HAVE_ATTR_TEST to zero Björn Töpel
2019-10-02 21:00   ` Song Liu
2019-10-03  0:19     ` KP Singh
2019-10-03 13:53       ` Arnaldo Carvalho de Melo
2019-10-15  5:31   ` [tip: perf/core] " tip-bot2 for Björn Töpel

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).