tracing: change owner name to driver name for devlink hwmsg tracepoint
authorJiri Pirko <jiri@mellanox.com>
Thu, 14 Jul 2016 09:37:28 +0000 (11:37 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 15 Jul 2016 05:16:05 +0000 (22:16 -0700)
commit0e1824c98a0ffd7fd9ffb2a3da01ec49ff1348a2
tree71c362aa8e23aa87aa600dda979478fa4864501f
parenta1e3e7372c54fb74994a9cb72965d6e9b4c2efda
tracing: change owner name to driver name for devlink hwmsg tracepoint

Turned on that driver->owner which is struct module is not available when
modules are disabled. Better to depend on a driver name which is
always available.

Reported-by: Randy Dunlap <rdunlap@infradead.org>
Fixes: e5224f0fe2 ("devlink: add hardware messages tracing facility")
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Acked-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/trace/events/devlink.h