Message ID | 20210714110718.68292-2-nsaenzju@redhat.com |
---|---|
State | New |
Headers | show |
Series | [v2,1/2] rt-utils: Add option to avoid stopping tracing in tracemark() | expand |
diff --git a/src/oslat/oslat.c b/src/oslat/oslat.c index d35be57..20bf02b 100644 --- a/src/oslat/oslat.c +++ b/src/oslat/oslat.c @@ -400,6 +400,10 @@ static void *thread_main(void *arg) while (g.n_threads_running != g.n_threads) relax(); + if (!g.preheat) + tracemark(false, "%s: Starting thread on CPU %d.\n", + g.app_name, t->core_i); + frc(&t->frc_start); doit(t); frc(&t->frc_stop);