]> git.baikalelectronics.ru Git - kernel.git/commit
devlink: Fix TP_STRUCT_entry in trace of devlink health report
authorMoshe Shemesh <moshe@nvidia.com>
Tue, 14 Feb 2023 16:38:06 +0000 (18:38 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 10 Mar 2023 08:33:54 +0000 (09:33 +0100)
commit2fcaa93b608e7b2e340aaf197a3de803c59df594
treeb4d04b97fd3419dd5f3f0c22621599ea29b7976b
parent89fbe2b1b28d01929026d217b32b9927a7f69c40
devlink: Fix TP_STRUCT_entry in trace of devlink health report

[ Upstream commit ae3133ccc357c093a395f88592bb6344dfa94b11 ]

Fix a bug in trace point definition for devlink health report, as
TP_STRUCT_entry of reporter_name should get reporter_name and not msg.

Note no fixes tag as this is a harmless bug as both reporter_name and
msg are strings and TP_fast_assign for this entry is correct.

Signed-off-by: Moshe Shemesh <moshe@nvidia.com>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
include/trace/events/devlink.h