Steven Rostedt (Red Hat)
49440828ad
tools lib traceevent: Add options to function plugin
Add the options "parent" and "indent" to the function plugin.
When parent is set, the output looks like this:
function: fsnotify_modify <-- vfs_write
function: zone_statistics <-- get_page_from_freelist
function: __inc_zone_state <-- zone_statistics
function: inotify_inode_queue_event <-- fsnotify_modify
function: fsnotify_parent <-- fsnotify_modify
function: __inc_zone_state <-- zone_statistics
function: __fsnotify_parent <-- fsnotify_parent
function: inotify_dentry_parent_queue_event <-- fsnotify_parent
function: add_to_page_cache_lru <-- do_read_cache_page
When it's not set, it looks like:
function: fsnotify_modify
function: zone_statistics
function: __inc_zone_state
function: inotify_inode_queue_event
function: fsnotify_parent
function: __inc_zone_state
function: __fsnotify_parent
function: inotify_dentry_parent_queue_event
function: add_to_page_cache_lru
When the otpion "indent" is not set, it looks like this:
function: fsnotify_modify <-- vfs_write
function: zone_statistics <-- get_page_from_freelist
function: __inc_zone_state <-- zone_statistics
function: inotify_inode_queue_event <-- fsnotify_modify
function: fsnotify_parent <-- fsnotify_modify
function: __inc_zone_state <-- zone_statistics
function: __fsnotify_parent <-- fsnotify_parent
function: inotify_dentry_parent_queue_event <-- fsnotify_parent
function: add_to_page_cache_lru <-- do_read_cache_page
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Acked-by: Namhyung Kim <namhyung@kernel.org>
Link: http://lkml.kernel.org/r/20140603032224.056940410@goodmis.org
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
2014-06-07 23:33:37 +02:00
..
2012-07-25 11:54:44 -03:00
2014-04-23 13:19:30 +02:00
2014-06-07 23:33:36 +02:00
2014-06-07 23:33:36 +02:00
2014-01-15 15:10:36 -03:00
2013-07-12 13:52:16 -03:00
2013-07-12 13:52:16 -03:00
2014-01-23 15:48:12 -03:00
2013-12-18 14:47:58 -03:00
2014-01-15 15:10:36 -03:00
2014-01-16 16:26:25 -03:00
2014-06-07 23:33:37 +02:00
2014-01-16 16:26:24 -03:00
2014-01-16 16:26:25 -03:00
2014-01-16 16:26:24 -03:00
2014-01-16 16:26:24 -03:00
2014-01-16 16:26:25 -03:00
2014-01-16 16:26:25 -03:00
2014-01-16 16:26:25 -03:00
2014-01-16 16:26:25 -03:00
2014-01-15 15:10:32 -03:00