summaryrefslogtreecommitdiff
path: root/tools/tracing/rtla/src/trace.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2024-05-18 04:46:30 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2024-05-18 04:46:30 +0300
commitfa3889d970da8f95bdd90fb5a07d521810be5678 (patch)
treed5fe7a5b13c3d82c28f0265eac52d40a086aacc3 /tools/tracing/rtla/src/trace.h
parent53683e408013407848bd598da15641b2f0979351 (diff)
parent78490b74435a8c738e91260e7df387e7cb6d6568 (diff)
downloadlinux-fa3889d970da8f95bdd90fb5a07d521810be5678.tar.xz
Merge tag 'trace-user-events-v6.10' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace
Pull tracing user-event updates from Steven Rostedt: - Minor update to the user_events interface The ABI of creating a user event states that the fields are separated by semicolons, and spaces should be ignored. But the parsing expected at least one space to be there (which was incorrect). Fix the reading of the string to handle fields separated by semicolons but no space between them. This does extend the API sightly as now "field;field" will now be parsed and not cause an error. But it should not cause any regressions as no logic should expect it to fail. Note, that the logic that parses the event fields to create the trace_event works with no spaces after the semi-colon. It is the logic that tests against existing events that is inconsistent. This causes registering an event without using spaces to succeed if it doesn't exist, but makes the same call that tries to register to the same event, but doesn't use spaces, fail. * tag 'trace-user-events-v6.10' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace: selftests/user_events: Add non-spacing separator check tracing/user_events: Fix non-spaced field matching
Diffstat (limited to 'tools/tracing/rtla/src/trace.h')
0 files changed, 0 insertions, 0 deletions