Message ID | 20230828061657.300667-10-jiri@resnulli.us (mailing list archive) |
---|---|
State | Accepted |
Commit | 85facf94fd804ef557d5d844b5253859adef10d5 |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | devlink: finish file split and get retire leftover.c | expand |
diff --git a/net/devlink/leftover.c b/net/devlink/leftover.c index 6d31aaee8ce8..1db3a7928465 100644 --- a/net/devlink/leftover.c +++ b/net/devlink/leftover.c @@ -3131,7 +3131,7 @@ void devlink_trap_report(struct devlink *devlink, struct sk_buff *skb, devlink_trap_stats_update(trap_item->stats, skb->len); devlink_trap_stats_update(trap_item->group_item->stats, skb->len); - if (trace_devlink_trap_report_enabled()) { + if (tracepoint_enabled(devlink_trap_report)) { struct devlink_trap_metadata metadata = {}; devlink_trap_report_metadata_set(&metadata, trap_item,