trace-cmd: Allow python tools to supress warning() and pr_stat()
trace-cmd has a lot of built in warning() and pr_stat() output that is noisy
when you are using the python bindings. This patch provides overrides for these
two functions and the ability for python scripts to optionally turn them off.
With this patch I can silence all of these extraneous print messages from within
my python script.
Link: http://lkml.kernel.org/r/1411757074-29117-1-git-send-email-jbacik@fb.com
Signed-off-by: Josef Bacik <jbacik@fb.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
1 file changed