diff options
author | Darrick J. Wong <djwong@kernel.org> | 2024-03-07 15:13:52 -0800 |
---|---|---|
committer | Chandan Babu R <chandanbabu@kernel.org> | 2024-03-15 10:30:23 +0530 |
commit | 215b2bf72a05d702287fc45d854b4f5019f9aad1 (patch) | |
tree | 2b40f4bc63ee72ed342fdf28366bd65b32c20fbf /tools/perf/scripts/python/sctop.py | |
parent | 75bcffbb9e7563259b7aed0fa77459d6a3a35627 (diff) |
xfs: fix dev_t usage in xmbuf tracepoints
Fix some inconsistencies in the xmbuf tracepoints -- they should be
reporting the major/minor of the filesystem that they're associated
with, so that we have some clue on whose behalf the xmbuf was created.
Fix the xmbuf_free tracepoint to report the same.
Don't call the trace function until the xmbuf is fully initialized.
Fixes: 5076a6040ca1 ("xfs: support in-memory buffer cache target")
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Chandan Babu R <chandanbabu@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions