| Commit message (Collapse) | Author | Age |
|
|
|
|
| |
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
|
|
|
|
|
|
|
|
|
|
|
| |
The _print_field() and print_field() functions were being used by multiple
plugins. Each implementing their own helper function to get a field
and print its value.
Instead of having multiple functions to do the same job in different
plugins, just add it to the core code.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
|
|
|
|
|
|
|
|
|
|
|
| |
For the upcoming python plugin, it will
be required to pass a context into the
callback function so that it can use a
single C function to handle everything.
Acked-by: Darren Hart <dvhltc@us.ibm.com>
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
|
|
|
|
|
|
|
|
|
|
|
| |
This fixes an error in the mac80211 plugin
when it parses flags, seems we never noticed
because I ordered the flags properly.
Also add the new QOS flag.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
All the files that are used to create the libraries:
libparsevent and libtracecmd are converted to the LGPL
as well as the files to create the plugins.
All files now have a boilerplate header that states which
license that the file is under. A README file is created as
well as the COPYING.LIB which contains the text of the
LGPL.
All authors of the code that created these files have given
their Acks.
Acked-by: Darren Hart <dvhltc@us.ibm.com>
Acked-by: Frederic Weisbecker <fweisbec@gmail.com>
Acked-by: Josh Triplett <josh@joshtriplett.org>
Acked-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
|
|
|
|
|
|
|
| |
Now that the struct record holds the cpu information, there's no need
to pass the cpu number to the pevent parsing routines.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
|
|
|
|
|
|
|
|
|
|
| |
Instead of passing in the data, size and timestamp to the
pevent parsing routines, pass in the record itself. This allows
the pevent parsing routines to have a bit more control and facilitates
the need of future work where we need to know more about the record
in the parser.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
|
|
|
|
|
|
|
|
| |
Calling the event format parser "struct event" may lead
to confusion about if the struct actually represents an instance
of an event instead of what it really is: a format descriptor.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
|
|
|
|
|
|
|
|
|
| |
Currently pevent uses global variables to store the event types.
This will eventually bite us since we may someday want to be able
to read multiple files with different formats. This patch adds
a handle to pevent, to keep it encapsulated.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
|
|
|
|
|
|
|
|
|
| |
Callbacks in plugins may need to know what the timestamp was when
the trace was occurred.
This patch gives the callback its timestamp in nanoseconds.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
|
|
|
|
|
|
|
| |
Callbacks in plugins may need to know what cpu the trace was recorded on.
This patch gives the callback the cpu it is on.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
|
|
|