aboutsummaryrefslogtreecommitdiffstats
path: root/plugin_sched_switch.c
Commit message (Collapse)AuthorAge
* trace-cmd/pevent: Remove passing of cpu to pevent prasing functionsSteven Rostedt2009-12-18
| | | | | | | 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>
* trace-cmd: Pass in record to pevent functionsSteven Rostedt2009-12-18
| | | | | | | | | | 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>
* trace-cmd: Rename struct event to struct event_formatSteven Rostedt2009-12-17
| | | | | | | | 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>
* Add sched_switch plugin to make the events look more like the old pluginSteven Rostedt2009-12-10
The event output for scheduler context switches and wakeups changed the output format. This adds a plugin to make those changes look more like the sched_switch plugin. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>