From 309d20882fbc3c3a870a6c7c58ba95503c12b254 Mon Sep 17 00:00:00 2001 From: Pavel Snajdr Date: Tue, 4 Aug 2020 19:04:00 +0200 Subject: [PATCH] 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 Reviewed-by: Brian Behlendorf Signed-off-by: Pavel Snajdr Closes #10669 --- include/os/linux/zfs/sys/trace_arc.h | 4 ++-- 1 file 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);