lkml.org 
[lkml]   [2023]   [Jun]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/2] tracing/user_events: Fix struct arg size match check
Date
The edge case of struct fields having an extra size argument got missed
when checking if events have the same name and arguments. This lead to
events not being able to register if a matching event name was already
created with a struct argument.

This series simply fixes this and adds a self test to ensure we do not
miss it again.

Beau Belgrave (2):
tracing/user_events: Fix struct arg size match check
selftests/user_events: Test struct size match cases

kernel/trace/trace_events_user.c | 3 +++
tools/testing/selftests/user_events/dyn_test.c | 12 ++++++++++++
2 files changed, 15 insertions(+)


base-commit: 6995e2de6891c724bfeb2db33d7b87775f913ad1
--
2.34.1

\
 
 \ /
  Last update: 2023-06-30 01:51    [W:0.033 / U:0.472 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site