[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20140422194824.319892442@goodmis.org>
Date: Tue, 22 Apr 2014 15:48:24 -0400
From: Steven Rostedt <rostedt@...dmis.org>
To: linux-kernel@...r.kernel.org
Cc: Ingo Molnar <mingo@...nel.org>,
Arnaldo Carvalho de Melo <acme@...hat.com>,
Jiri Olsa <jolsa@...hat.com>,
Namhyung Kim <namhyung@...nel.org>,
Andrew Morton <akpm@...ux-foundation.org>
Subject: [PATCH 0/3] tools lib traceevent: Options for plugins
trace-cmd has a way to set options for plugins, via the command
line parameter. For example, you can add or remove the parent
from being printed in function tracing by adding:
-O parent=1
-O parent=0
This is passed later to the plugin in. But the plugin itself requires
registering to the application what options it supplies.
This is a three patch series. The first is to set a flag in pevent
that would prevent plugins from being loaded. This can be supplied
by the command line as well to produce the old "raw" events.
The second patch adds the infrastructure to let plugins have options.
The third patch adds the options "parent" and "indent" to the
function plugin. The indent option lets the user print functions
with or without indenting by their parents.
All that needs to be done now is to add the options to the perf
command line. Namhyung? ;-)
-- Steve
Steven Rostedt (Red Hat) (3):
tools lib traceevent: Add flag to not load event plugins
tools lib traceevent: Add options to plugins
tools lib traceevent: Add options to function plugin
----
tools/lib/traceevent/event-parse.h | 16 ++-
tools/lib/traceevent/event-plugin.c | 204 ++++++++++++++++++++++++++++++++-
tools/lib/traceevent/plugin_function.c | 43 ++++++-
3 files changed, 253 insertions(+), 10 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists