aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-mod.c
diff options
context:
space:
mode:
authorsunliming <[email protected]>2023-06-06 14:20:24 +0800
committerSteven Rostedt (Google) <[email protected]>2023-06-14 12:41:52 -0400
commit6f05dcabe5c241d066ec472cf38ac8b84f8c9c6f (patch)
tree7c744fd135f87dc8819c77ef9b995ca52ee9aa88 /lib/mpi/mpi-mod.c
parente70bb54d7a51299e7feca9169c07d79f9a3fc01d (diff)
tracing/user_events: Fix the incorrect trace record for empty arguments events
The user_events support events that has empty arguments. But the trace event is discarded and not really committed when the arguments is empty. Fix this by not attempting to copy in zero-length data. Link: https://lkml.kernel.org/r/[email protected] Acked-by: Beau Belgrave <[email protected]> Acked-by: Masami Hiramatsu (Google) <[email protected]> Signed-off-by: sunliming <[email protected]> Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions