tracing: New flag to allow non privileged users to use a trace event
authorFrederic Weisbecker <fweisbec@gmail.com>
Thu, 18 Nov 2010 00:39:17 +0000 (01:39 +0100)
committerFrederic Weisbecker <fweisbec@gmail.com>
Thu, 18 Nov 2010 13:37:40 +0000 (14:37 +0100)
commit61c32659b12c44e62de32fbf99f7e4ca783dc38b
tree231c285da4178f7602deb75241b3bb5b02caf898
parent9c0729dc8062bed96189bd14ac6d4920f3958743
tracing: New flag to allow non privileged users to use a trace event

This adds a new trace event internal flag that allows them to be
used in perf by non privileged users in case of task bound tracing.

This is desired for syscalls tracepoint because they don't leak
global system informations, like some other tracepoints.

Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Li Zefan <lizf@cn.fujitsu.com>
Cc: Jason Baron <jbaron@redhat.com>
include/linux/ftrace_event.h
kernel/perf_event.c
kernel/trace/trace_event_perf.c