From: Chaosheng Qu <quchaosheng000406@163.com>
To: Tomas Glozar <tglozar@redhat.com>
Cc: Steven Rostedt <rostedt@goodmis.org>,
linux-trace-kernel@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v4 1/2] rtla: handle SIGTERM during a run
Date: Sat, 28 Nov 2026 13:30:20 +0800 [thread overview]
Message-ID: <1795844918.22303.278378463762271@163.com> (raw)
In-Reply-To: <CAP4=nvSFE95SAvysnn2ay880DgFUrqQgUY1A3pTcSTXagdiDNg@mail.gmail.com>
That matches what the tree does now. osnoise_enable() starts the trace
instances first and calls osn_set_stop() afterwards (osnoise.c; timerlat.c
does the same before its own osn_set_stop()), so a stop_tracing_us left
behind by an earlier run is already in effect when tracing starts. The new
value is written too late to protect the run, which is the reset-on-start
regression you described.
So I agree on both counts: the SIGTERM part is not the fix for that, and the
Fixes: tag goes. I would rather not send a v5 for a tag alone -- drop it
when you apply the patch, or say the word and I will send v5 with the tag
removed and the changelog pointing at c219d4ee1d6.
2/2 is independent of that and can land on its own. If you want, I can add
a case to it later that presets stop_tracing_us before the run and checks
that rtla overrides it -- but that test only makes sense once your reset fix
is in, so it would come after it.
Thanks,
Chaosheng
next prev parent reply other threads:[~2026-11-28 5:49 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-21 12:03 [PATCH v4 0/2] rtla: handle SIGTERM and test abnormal exits Chaosheng Qu
2026-11-21 12:03 ` [PATCH v4 1/2] rtla: handle SIGTERM during a run Chaosheng Qu
2026-11-27 12:54 ` Tomas Glozar
2026-11-28 5:30 ` Chaosheng Qu [this message]
2026-11-21 12:03 ` [PATCH v4 2/2] rtla/tests: cover cleanup on abnormal exits Chaosheng Qu
2026-11-21 12:16 ` sashiko-bot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1795844918.22303.278378463762271@163.com \
--to=quchaosheng000406@163.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-trace-kernel@vger.kernel.org \
--cc=rostedt@goodmis.org \
--cc=tglozar@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox