Lines Matching refs:devlink
5 #define TRACE_SYSTEM devlink
18 TP_PROTO(const struct devlink *devlink, bool incoming,
21 TP_ARGS(devlink, incoming, type, buf, len),
24 __string(bus_name, devlink_to_dev(devlink)->bus->name)
25 __string(dev_name, dev_name(devlink_to_dev(devlink)))
26 __string(driver_name, devlink_to_dev(devlink)->driver->name)
53 TP_PROTO(const struct devlink *devlink, int err, const char *msg),
55 TP_ARGS(devlink, err, msg),
58 __string(bus_name, devlink_to_dev(devlink)->bus->name)
59 __string(dev_name, dev_name(devlink_to_dev(devlink)))
60 __string(driver_name, devlink_to_dev(devlink)->driver->name)
82 TP_PROTO(const struct devlink *devlink, const char *reporter_name,
85 TP_ARGS(devlink, reporter_name, msg),
88 __string(bus_name, devlink_to_dev(devlink)->bus->name)
89 __string(dev_name, dev_name(devlink_to_dev(devlink)))
90 __string(driver_name, devlink_to_dev(devlink)->driver->name)
113 TP_PROTO(const struct devlink *devlink, const char *reporter_name,
116 TP_ARGS(devlink, reporter_name, health_state, time_since_last_recover),
119 __string(bus_name, devlink_to_dev(devlink)->bus->name)
120 __string(dev_name, dev_name(devlink_to_dev(devlink)))
121 __string(driver_name, devlink_to_dev(devlink)->driver->name)
147 TP_PROTO(const struct devlink *devlink, const char *reporter_name,
150 TP_ARGS(devlink, reporter_name, new_state),
153 __string(bus_name, devlink_to_dev(devlink)->bus->name)
154 __string(dev_name, dev_name(devlink_to_dev(devlink)))
155 __string(driver_name, devlink_to_dev(devlink)->driver->name)
178 TP_PROTO(const struct devlink *devlink, struct sk_buff *skb,
181 TP_ARGS(devlink, skb, metadata),
184 __string(bus_name, devlink_to_dev(devlink)->bus->name)
185 __string(dev_name, dev_name(devlink_to_dev(devlink)))
186 __string(driver_name, devlink_to_dev(devlink)->driver->name)
222 static inline void trace_devlink_hwmsg(const struct devlink *devlink, in trace_devlink_hwmsg() argument
228 static inline void trace_devlink_hwerr(const struct devlink *devlink, in trace_devlink_hwerr() argument