aboutsummaryrefslogtreecommitdiffstats
path: root/parse-events.h
Commit message (Collapse)AuthorAge
...
* port over changes from perfFrederic Weisbecker2009-10-14
| | | | | | | Frederic Weisbecker added a bunch of changes to the perf code. This is a port of his work to trace-cmd. Signed-off-by: Steven Rostedt <srostedt@redhat.com>
* add latency format option to all outputSteven Rostedt2009-10-13
| | | | | | | All traces have info about interrupts disabled, preempt count and needing rescheduling. Add an option to expose these. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
* do not exit when parser fails on an eventSteven Rostedt2009-10-13
| | | | | | If an event fails to parse, just warn about it, and continue. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
* Fix typo: s/peak/peek/Josh Triplett2009-08-05
| | | | Signed-off-by: Josh Triplett <josh@joshtriplett.org>
* handle bprint eventsSteven Rostedt2009-07-21
| | | | | | | | The ftrace bprint uses a special binary format to record trace_print events. This patch changes trace-cmd to handle the format. Part of that is to read (and record) the printk_formats file in the trace.dat. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
* parse header_page from tracing/events directorySteven Rostedt2009-07-17
| | | | | | | | | Parse out the header_page from the tracing/events directory to get the page header offsets and sizes. We can also use the "commit" field to get the long size of the kernel, incase the kernel and the userspace have different word sizes. Signed-off-by: Steven Rostedt <srostedt@redhat.com>
* Use arch page size instead of hard coded 4096Steven Rostedt2009-07-17
| | | | | | | | | | Archs may use different page sizes. We must use the target arch page size for this instead of just hard coding 4096. This must also be saved in the data file so that it can be read by the host data. Also fixed the bigendian routine on the recording side. Signed-off-by: Steven Rostedt <srostedt@redhat.com>
* fix reading data from diffenent endian typesSteven Rostedt2009-07-17
| | | | | | | | | When testing a data file created on x86 on a PPC box, I found that there was a missing conversion of reading the values. This patch moves the data2host to the header file and converts the necessary fields. Signed-off-by: Steven Rostedt <srostedt@redhat.com>
* Initial addition of trace-cmd files.Steven Rostedt2009-07-17
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>