Message ID | 20221114235651.7c1b98d7@gandalf.local.home (mailing list archive) |
---|---|
State | Accepted |
Commit | ad79e3d6799286f329db3e0521a97b1c5690f884 |
Headers | show |
Series | libtracefs: Fixe tracefs_iterate_stop() when instance is used | expand |
diff --git a/src/tracefs-events.c b/src/tracefs-events.c index e92663656688..daa81c07ecb5 100644 --- a/src/tracefs-events.c +++ b/src/tracefs-events.c @@ -418,7 +418,7 @@ int tracefs_iterate_raw_events(struct tep_handle *tep, int, void *), void *callback_context) { - bool *keep_going = instance ? &instance->pipe_keep_going : + bool *keep_going = instance ? &instance->iterate_keep_going : &top_iterate_keep_going; struct cpu_iterate *all_cpus; int count = 0;