bpf.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] tracing: do not export user_events uapi
@ 2022-03-30 20:17 Mathieu Desnoyers
  2022-03-30 20:21 ` Steven Rostedt
  2022-03-31  1:22 ` Masami Hiramatsu
  0 siblings, 2 replies; 9+ messages in thread
From: Mathieu Desnoyers @ 2022-03-30 20:17 UTC (permalink / raw)
  To: Steven Rostedt
  Cc: linux-kernel, Beau Belgrave, Masami Hiramatsu, linux-trace-devel,
	bpf, Network Development, Alexei Starovoitov, Linus Torvalds,
	Mathieu Desnoyers

In addition to mark the USER_EVENTS feature BROKEN until all interested
parties figure out the user-space API, do not install the uapi header.

This prevents situations where a non-final uapi header would end up
being installed into a distribution image and used to build user-space
programs that would then run against newer kernels that will implement
user events with a different ABI.

Link: https://lore.kernel.org/all/20220330155835.5e1f6669@gandalf.local.home

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
---
 include/uapi/Kbuild | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/include/uapi/Kbuild b/include/uapi/Kbuild
index 61ee6e59c930..425ea8769ddc 100644
--- a/include/uapi/Kbuild
+++ b/include/uapi/Kbuild
@@ -12,3 +12,6 @@ ifeq ($(wildcard $(objtree)/arch/$(SRCARCH)/include/generated/uapi/asm/kvm_para.
 no-export-headers += linux/kvm_para.h
 endif
 endif
+
+# API is not finalized
+no-export-headers += linux/user_events.h
-- 
2.20.1


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

end of thread, other threads:[~2022-03-31 17:17 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-30 20:17 [PATCH] tracing: do not export user_events uapi Mathieu Desnoyers
2022-03-30 20:21 ` Steven Rostedt
2022-03-31  7:29   ` Masahiro Yamada
2022-03-31 12:13     ` Steven Rostedt
2022-03-31 14:41       ` Masahiro Yamada
2022-03-31 14:48         ` Steven Rostedt
2022-03-31 16:07       ` Mathieu Desnoyers
2022-03-31 17:17         ` Steven Rostedt
2022-03-31  1:22 ` Masami Hiramatsu

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