diff options
author | Hitoshi Mitake <[email protected]> | 2015-11-06 16:32:05 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2015-11-06 17:50:42 -0800 |
commit | 83eec5e6dd10f0b1ab83ee660c8be883b3da7ba8 (patch) | |
tree | dfda7436993043b6aeb0cc1d6990effc3fed344d /lib/mpi/mpiutil.c | |
parent | 44fda114601fa5edebeacecb265f09d802670bc0 (diff) |
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 <[email protected]>
Signed-off-by: Ryusuke Konishi <[email protected]>
Cc: Steven Rostedt <[email protected]>
Cc: Benixon Dhas <[email protected]>
Cc: TK Kato <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions