summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Snajdr <[email protected]>2020-08-04 19:04:00 +0200
committerGitHub <[email protected]>2020-08-04 10:04:00 -0700
commit309d20882fbc3c3a870a6c7c58ba95503c12b254 (patch)
treead91677b06a7084fcdd3709501cfd5b8dbcce74b
parentf1de1600d132666d03b3b73a2ab62695a0f60ead (diff)
Fix arc__wait__for__eviction tracepoint
3442c2a02d added new `arc_wait_for_eviction` tracepoint, which fails to compile, when tracepoints are enabled. The tracepoint definition begins with `DEFINE_ARC_WAIT_FOR_EVICTION_EVENT` and is a multi-line definition, so this fixes the backslash and parenthesis accordingly. Reviewed-by: Matt Ahrens <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Pavel Snajdr <[email protected]> Closes #10669
-rw-r--r--include/os/linux/zfs/sys/trace_arc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/os/linux/zfs/sys/trace_arc.h b/include/os/linux/zfs/sys/trace_arc.h
index faf2bd3d5..3df491f8b 100644
--- a/include/os/linux/zfs/sys/trace_arc.h
+++ b/include/os/linux/zfs/sys/trace_arc.h
@@ -384,8 +384,8 @@ DECLARE_EVENT_CLASS(zfs_arc_wait_for_eviction_class,
/* BEGIN CSTYLED */
#define DEFINE_ARC_WAIT_FOR_EVICTION_EVENT(name) \
DEFINE_EVENT(zfs_arc_wait_for_eviction_class, name, \
- TP_PROTO(uint64_t amount, uint64_t arc_evict_count, uint64_t aew_count),
- TP_ARGS(amount, arc_evict_count, aew_count),
+ TP_PROTO(uint64_t amount, uint64_t arc_evict_count, uint64_t aew_count), \
+ TP_ARGS(amount, arc_evict_count, aew_count))
/* END CSTYLED */
DEFINE_ARC_WAIT_FOR_EVICTION_EVENT(zfs_arc__wait__for__eviction);