]> git.baikalelectronics.ru Git - kernel.git/commit
rxrpc: Fix trace string
authorDavid Howells <dhowells@redhat.com>
Wed, 17 Jun 2020 21:50:33 +0000 (22:50 +0100)
committerDavid Howells <dhowells@redhat.com>
Wed, 17 Jun 2020 21:51:01 +0000 (22:51 +0100)
commitb08e86a66adb8618ec5e7be7c644eb9d1ae961a9
tree092f072b27b6858ebb0b54a322928901b536a313
parentd28b1d4610ca28807e94681f676352e97e08b920
rxrpc: Fix trace string

The trace symbol printer (__print_symbolic()) ignores symbols that map to
an empty string and prints the hex value instead.

Fix the symbol for rxrpc_cong_no_change to " -" instead of "" to avoid
this.

Fixes: 5e5802052c95 ("rxrpc: Fix handling of enums-to-string translation in tracing")
Signed-off-by: David Howells <dhowells@redhat.com>
include/trace/events/rxrpc.h