Thread (31 messages) 31 messages, 12 authors, 2021-11-22

Re: [PATCH v2 0/2] Introduce the pkill_on_warn parameter

From: Steven Rostedt <rostedt@goodmis.org>
Date: 2021-11-22 16:21:17
Also in: linux-arch, linux-fsdevel, linux-hardening, lkml

On Sat, 20 Nov 2021 13:17:08 +0100
Marco Elver [off-list ref] wrote:

I think userspace would want something other than perf tool to handle it
of course.  There are several options:

	1. Open trace pipe to be notified (/sys/kernel/tracing/trace_pipe).
	   This already includes the pid.
I would suggest using /sys/kernel/tracing/per_cpu/cpu*/trace_pipe_raw

and use libtracefs[1] to read it.

-- Steve

[1] https://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help