[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <52367DB0.3000105@gmail.com>
Date: Sun, 15 Sep 2013 21:40:32 -0600
From: David Ahern <dsahern@...il.com>
To: Jiri Olsa <jolsa@...hat.com>
CC: linux-kernel@...r.kernel.org,
Corey Ashford <cjashfor@...ux.vnet.ibm.com>,
Frederic Weisbecker <fweisbec@...il.com>,
Ingo Molnar <mingo@...e.hu>,
Namhyung Kim <namhyung@...nel.org>,
Paul Mackerras <paulus@...ba.org>,
Peter Zijlstra <a.p.zijlstra@...llo.nl>,
Arnaldo Carvalho de Melo <acme@...hat.com>,
Steven Rostedt <rostedt@...dmis.org>
Subject: Re: [PATCH 05/24] tools list traceevent: Add options support
On 9/1/13 4:48 AM, Jiri Olsa wrote:
> Backporting options support for traceevent lib.
ditto -- where's the code from and last commit id.
>
> It's now possible to use following interface
> to load options for 'struct pevent' object:
>
> void traceevent_add_options(const char *name, struct plugin_option *options);
> - adds a set of options by a plugin
>
> void traceevent_remove_options(struct plugin_option *options);
> - removes plugin options that were registered
>
> void traceevent_add_option(const char *name, const char *val);
> - modifies plugin option
And how is the code used? Take for instance the kvm plugin: would I be
able to use this interface to pass in a vmlinux path to resolve guest
symbols or some other option to convert RIPs in kvm tracepoints to symbols?
David
--
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