Fix: missing event's prefix in btrfs probe
A message that is not in the archive (sent off-list or not yet received): [email protected]
Meh... A file is missing in this patch.
Ignore, resending soon!
David Goulet:
Quoted 47 lines
From: David Goulet <[email protected]>
Signed-off-by David Goulet <[email protected]>--- instrumentation/events/lttng-module/btrfs.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)instrumentation/events/lttng-module/btrfs.h +4
-4@@ -390,7 +390,7 @@ DECLARE_EVENT_CLASS(btrfs__writepage,#endif ) -DEFINE_EVENT(btrfs__writepage, __extent_writepage, +DEFINE_EVENT(btrfs__writepage, btrfs_extent_writepage, TP_PROTO(struct page *page, struct inode *inode, struct writeback_control *wbc),@@ -792,7 +792,7 @@ DEFINE_EVENT(btrfs__reserved_extent, btrfs_reserved_extent_free, )#if (LINUX_VERSION_CODE >=KERNEL_VERSION (3 ,3 ,0 )) -TRACE_EVENT(find_free_extent, +TRACE_EVENT(btrfs_find_free_extent, TP_PROTO(struct btrfs_root *root, u64 num_bytes, u64 empty_size, u64 data),@@ -956,7 +956,7 @@ TRACE_EVENT(btrfs_setup_cluster,#endif #if (LINUX_VERSION_CODE >=KERNEL_VERSION (3 ,4 ,0 )) -TRACE_EVENT(alloc_extent_state, +TRACE_EVENT(btrfs_alloc_extent_state, TP_PROTO(struct extent_state *state, gfp_t mask, unsigned long IP),@@ -978,7 +978,7 @@ TRACE_EVENT(alloc_extent_state, show_gfp_flags(__entry->mask), (void *)__entry->ip) ) -TRACE_EVENT(free_extent_state, +TRACE_EVENT(btrfs_free_extent_state, TP_PROTO(struct extent_state *state, unsigned long IP),
Quoted 1 line · * David Goulet ([email protected]) wrote:
From: David Goulet <[email protected]>
Nope, those prefix are missing upstream. I cannot take them until Linux upstream is fixed. You might want to submit a patch on LKML, ccing those responsible for:
commit 3f7de037fb3727b20bc27332cdcf2488b702394c
Author: Josef Bacik <[email protected]> Date: Thu Nov 10 08:29:20 2011 -0500
Btrfs: add allocator tracepoints
I used these tracepoints when figuring out what the cluster stuff was doing, so add them to mainline in case we need to profile this stuff again. Thanks,
Signed-off-by Josef Bacik <[email protected]>
And the btrfs maintainer (found in MAINTAINERS).
Thanks,
Mathieu
Quoted 54 lines
Signed-off-by David Goulet <[email protected]>--- instrumentation/events/lttng-module/btrfs.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)instrumentation/events/lttng-module/btrfs.h +4
-4@@ -390,7 +390,7 @@ DECLARE_EVENT_CLASS(btrfs__writepage,#endif ) -DEFINE_EVENT(btrfs__writepage, __extent_writepage, +DEFINE_EVENT(btrfs__writepage, btrfs_extent_writepage, TP_PROTO(struct page *page, struct inode *inode, struct writeback_control *wbc),@@ -792,7 +792,7 @@ DEFINE_EVENT(btrfs__reserved_extent, btrfs_reserved_extent_free, )#if (LINUX_VERSION_CODE >=KERNEL_VERSION (3 ,3 ,0 )) -TRACE_EVENT(find_free_extent, +TRACE_EVENT(btrfs_find_free_extent, TP_PROTO(struct btrfs_root *root, u64 num_bytes, u64 empty_size, u64 data),@@ -956,7 +956,7 @@ TRACE_EVENT(btrfs_setup_cluster,#endif #if (LINUX_VERSION_CODE >=KERNEL_VERSION (3 ,4 ,0 )) -TRACE_EVENT(alloc_extent_state, +TRACE_EVENT(btrfs_alloc_extent_state, TP_PROTO(struct extent_state *state, gfp_t mask, unsigned long IP),@@ -978,7 +978,7 @@ TRACE_EVENT(alloc_extent_state, show_gfp_flags(__entry->mask), (void *)__entry->ip) ) -TRACE_EVENT(free_extent_state, +TRACE_EVENT(btrfs_free_extent_state, TP_PROTO(struct extent_state *state, unsigned long IP),Signature · 7 lines
1.7.10.4 _______________________________________________ lttng-dev mailing list [email protected] http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
Signature · 3 lines
Mathieu Desnoyers EfficiOS Inc. http://www.efficios.com