summaryrefslogtreecommitdiff
path: root/kernel/srcu.c
diff options
context:
space:
mode:
authorJiri Olsa <jolsa@redhat.com>2012-01-02 09:04:14 (GMT)
committerSteven Rostedt <rostedt@goodmis.org>2012-02-03 14:48:18 (GMT)
commitac483c446b67870444c9eeaf8325d3d2af9b91bc (patch)
treee2765af4acf86ce986856b2963036138ae077d58 /kernel/srcu.c
parent623ec991ce0e8cd5791bad656c162fa837635907 (diff)
downloadlinux-fsl-qoriq-ac483c446b67870444c9eeaf8325d3d2af9b91bc.tar.xz
ftrace: Change filter/notrace set functions to return exit code
Currently the ftrace_set_filter and ftrace_set_notrace functions do not return any return code. So there's no way for ftrace_ops user to tell wether the filter was correctly applied. The set_ftrace_filter interface returns error in case the filter did not match: # echo krava > set_ftrace_filter bash: echo: write error: Invalid argument Changing both ftrace_set_filter and ftrace_set_notrace functions to return zero if the filter was applied correctly or -E* values in case of error. Link: http://lkml.kernel.org/r/1325495060-6402-2-git-send-email-jolsa@redhat.com Acked-by: Frederic Weisbecker <fweisbec@gmail.com> Signed-off-by: Jiri Olsa <jolsa@redhat.com> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'kernel/srcu.c')
0 files changed, 0 insertions, 0 deletions