Thread (31 messages) 31 messages, 5 authors, 2023-09-07

Re: "[PATCH] selftests/ftrace: Correctly enable event in instance-event.tc"

From: Steven Rostedt <rostedt@goodmis.org>
Date: 2023-09-06 21:37:01
Also in: linux-kselftest, lkml

On Wed, 6 Sep 2023 10:37:18 -0400
Steven Rostedt [off-list ref] wrote:
quoted
Log details,
-------------
# ok 45 ftrace - test tracing error log support
<47>[ 1373.662292] systemd-journald[90]: Sent WATCHDOG=1 notification.
# ok 46 Test creation and deletion of trace instances while setting an event  
It's definitely a race with the creation and deletion of instances.

I'm going to run it on my laptop VM and see if that reproduces it. My other
VM is on a pretty powerful machine, and perhaps that's keeping it from
hitting the race.
Putting in a while loop of:

  # while :; do ./ftracetest test.d/instances/instance-event.tc ; done

eventually triggered the bug. Looks like this is really an existing bug not
related to the eventfs, but the eventfs code actually opened up the window
of this race.

Hopefully I'll have a fix shortly.

-- Steve
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help