1
0
Files
linux/include/trace/events
David Howells b54a134a7d rxrpc: Fix handling of enums-to-string translation in tracing
Fix the way enum values are translated into strings in AF_RXRPC
tracepoints.  The problem with just doing a lookup in a normal flat array
of strings or chars is that external tracing infrastructure can't find it.
Rather, TRACE_DEFINE_ENUM must be used.

Also sort the enums and string tables to make it easier to keep them in
order so that a future patch to __print_symbolic() can be optimised to try
a direct lookup into the table first before iterating over it.

A couple of _proto() macro calls are removed because they refered to tables
that got moved to the tracing infrastructure.  The relevant data can be
found by way of tracing.

Signed-off-by: David Howells <dhowells@redhat.com>
2017-01-05 10:38:33 +00:00
..
2016-12-25 17:21:22 +01:00
2016-02-26 10:52:48 +09:00
2016-10-28 08:48:16 -06:00
2016-10-28 08:48:16 -06:00
2016-07-14 22:16:05 -07:00
2015-09-01 14:32:44 -07:00
2016-08-17 11:13:07 +02:00
2016-09-29 10:03:38 +02:00
2016-07-14 09:03:57 +02:00
2016-11-14 10:46:30 -08:00
2015-10-06 17:08:15 +02:00
2016-04-11 16:57:09 -04:00
2015-08-05 12:27:09 -07:00
2016-12-25 17:21:22 +01:00