aboutsummaryrefslogtreecommitdiffstats
path: root/plugin_hrtimer.c
Commit message (Collapse)AuthorAge
* A callback plugin may need to know the timestamp it happened onSteven Rostedt2009-11-26
| | | | | | | | | 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>
* A callback plugin may need to know what cpu it is onSteven Rostedt2009-11-26
| | | | | | | 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>
* correct and simplify hrtimer pluginJohannes Berg2009-11-25
| | | | | | | | | | | The current hrtimer plugin code is broken wrt. the return values, but it can now ignore the trace_seq_* return values completely and focus on parsing the data. Also, the handler API should return 0 (all OK) or negative numbers on errors. Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
* hrtimer plugin: use new field infrastructureJohannes Berg2009-11-25
| | | | | | | | This should make the plugin able to read data from both 32 and 64 bit platforms regardless of the machine it is running on. Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
* hrtimer_plugin: handle name "timer"Johannes Berg2009-11-25
| | | | | | | On my machine the field is called just "timer", not "hrtimer", so handle that (silently). Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
* rename test_plugin to plugin_hrtimer.soJohannes Berg2009-11-25
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>