summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorSteven Rostedt (VMware) <rostedt@goodmis.org>2018-05-09 14:22:06 -0400
committerSteven Rostedt (VMware) <rostedt@goodmis.org>2018-05-29 08:29:04 -0400
commit10f20e9f9da943426382da3d4947ea46fa1db492 (patch)
treee5a96bde3442e0b106aa448e1680f07567c7b58d /firmware
parent3dd8095368475a9538895ce757b63dd311e58fe8 (diff)
downloadop-kernel-dev-10f20e9f9da943426382da3d4947ea46fa1db492.zip
op-kernel-dev-10f20e9f9da943426382da3d4947ea46fa1db492.tar.gz
tracing: Have zero size length in filter logic be full string
As strings in trace events may not have a nul terminating character, the filter string compares use the defined string length for the field for the compares. The trace_marker records data slightly different than do normal events. It's size is zero, meaning that the string is the rest of the array, and that the string also ends with '\0'. If the size is zero, assume that the string is nul terminated and read the string in question as is. Reviewed-by: Namhyung Kim <namhyung@kernel.org> Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'firmware')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud