diff options
author | 2015-11-06 16:32:05 -0800 | |
---|---|---|
committer | 2015-11-06 17:50:42 -0800 | |
commit | 83eec5e6dd10f0b1ab83ee660c8be883b3da7ba8 (patch) | |
tree | dfda7436993043b6aeb0cc1d6990effc3fed344d /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | nilfs2: add a tracepoint for transaction events (diff) | |
download | wireguard-linux-83eec5e6dd10f0b1ab83ee660c8be883b3da7ba8.tar.xz wireguard-linux-83eec5e6dd10f0b1ab83ee660c8be883b3da7ba8.zip |
nilfs2: add tracepoints for analyzing sufile manipulation
This patch adds tracepoints which would be useful for analyzing segment
usage from a perspective of high level sufile manipulation (check, alloc,
free). sufile is an important in-place updated metadata file, so
analyzing the behavior would be useful for performance turning.
example of usage (a case of allocation):
$ sudo bin/tpoint nilfs2:nilfs2_segment_usage_allocated
Tracing nilfs2:nilfs2_segment_usage_allocated. Ctrl-C to end.
segctord-17800 [002] ...1 10671.867294: nilfs2_segment_usage_allocated: sufile = ffff880054f908a8 segnum = 2
segctord-17800 [002] ...1 10675.073477: nilfs2_segment_usage_allocated: sufile = ffff880054f908a8 segnum = 3
Signed-off-by: Hitoshi Mitake <mitake.hitoshi@lab.ntt.co.jp>
Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Benixon Dhas <benixon.dhas@wdc.com>
Cc: TK Kato <TK.Kato@wdc.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions