<div dir="ltr">Please omit this patch. I am preparing a more generic one.<div><br></div><div>Thank you,</div><div>-- <br><div class="gmail_signature"><div dir="ltr"><div class="gmail_signature"><div>Francis Deslauriers</div><div dir="ltr">Software developer<div>EfficiOS inc.</div></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-11-08 11:05 GMT-05:00 Francis Deslauriers <span dir="ltr"><<a href="mailto:francis.deslauriers@efficios.com" target="_blank">francis.deslauriers@efficios.<wbr>com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">sched_process_free may not be called during the tracing session if there<br>
is very little activity on the machine the test is run on. We change<br>
this validate to sched_process_fork since we are sure there will be<br>
atleast one generated by the final lttng stop.<br>
<br>
Signed-off-by: Francis Deslauriers <<a href="mailto:francis.deslauriers@efficios.com" target="_blank">francis.deslauriers@efficios.<wbr>com</a>><br>
---<br>
 tests/regression/kernel/test_<wbr>event_basic | 4 ++--<br>
 1 file changed, 2 insertions(+), 2 deletions(-)<br>
<br>
diff --git a/tests/regression/kernel/test<wbr>_event_basic b/tests/regression/kernel/test<wbr>_event_basic<br>
index aeca02b..584bfc8 100755<br>
--- a/tests/regression/kernel/test<wbr>_event_basic<br>
+++ b/tests/regression/kernel/test<wbr>_event_basic<br>
@@ -32,14 +32,14 @@ function test_event_basic()<br>
<br>
        lttng_enable_kernel_event $SESSION_NAME "sched_switch"<br>
        lttng_enable_kernel_event $SESSION_NAME "sched_process_exit"<br>
-       lttng_enable_kernel_event $SESSION_NAME "sched_process_free"<br>
+       lttng_enable_kernel_event $SESSION_NAME "sched_process_fork"<br>
<br>
        start_lttng_tracing_ok<br>
        stop_lttng_tracing_ok<br>
<br>
        validate_trace "sched_switch" $TRACE_PATH<br>
        validate_trace "sched_process_exit" $TRACE_PATH<br>
-       validate_trace "sched_process_free" $TRACE_PATH<br>
+       validate_trace "sched_process_fork" $TRACE_PATH<br>
<br>
        destroy_lttng_session_ok $SESSION_NAME<br>
<span class="gmail-m_-8370492692563735646m_5754271386190881712HOEnZb"><font color="#888888"><br>
--<br>
2.7.4<br>
<br>
</font></span></blockquote></div><br></div></div><br clear="all"><div><br></div><br></div>