Searched hist:b54a134a7de461f804cf0e28331d0a43ee82fb13 (Results 1 – 6 of 6) sorted by relevance
/openbmc/linux/net/rxrpc/ |
H A D | misc.c | diff b54a134a7de461f804cf0e28331d0a43ee82fb13 Thu Jan 05 04:38:33 CST 2017 David Howells <dhowells@redhat.com> 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>
|
H A D | conn_client.c | diff b54a134a7de461f804cf0e28331d0a43ee82fb13 Thu Jan 05 04:38:33 CST 2017 David Howells <dhowells@redhat.com> 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>
|
H A D | input.c | diff b54a134a7de461f804cf0e28331d0a43ee82fb13 Thu Jan 05 04:38:33 CST 2017 David Howells <dhowells@redhat.com> 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>
|
H A D | call_object.c | diff b54a134a7de461f804cf0e28331d0a43ee82fb13 Thu Jan 05 04:38:33 CST 2017 David Howells <dhowells@redhat.com> 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>
|
H A D | ar-internal.h | diff b54a134a7de461f804cf0e28331d0a43ee82fb13 Thu Jan 05 04:38:33 CST 2017 David Howells <dhowells@redhat.com> 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>
|
/openbmc/linux/include/trace/events/ |
H A D | rxrpc.h | diff b54a134a7de461f804cf0e28331d0a43ee82fb13 Thu Jan 05 04:38:33 CST 2017 David Howells <dhowells@redhat.com> 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>
|