From: Tejun Heo <tj@kernel.org>
To: Andrea Righi <arighi@nvidia.com>
Cc: Changwoo Min <changwoo@igalia.com>,
void@manifault.com, kernel-dev@igalia.com,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2] sched_ext: Add trace point to track sched_ext core events
Date: Fri, 28 Feb 2025 07:31:22 -1000 [thread overview]
Message-ID: <Z8Hy6qu8shpYOR83@slm.duckdns.org> (raw)
In-Reply-To: <Z8GKCkWNVN_Pbcc0@gpd3>
On Fri, Feb 28, 2025 at 11:03:54AM +0100, Andrea Righi wrote:
> > +TRACE_EVENT(sched_ext_event,
> > + TP_PROTO(const char *name, __u64 delta),
> > + TP_ARGS(name, delta),
> > +
> > + TP_STRUCT__entry(
> > + __string(name, name)
> > + __field( __u64, delta )
>
> I'm wondering if we should use a __s64 here (and %lld below). We don't have
> negative deltas right now, but in the future who knows...
>
> Apart than that, everything else looks good to me.
And let's also print out the updated value.
Thanks.
--
tejun
next prev parent reply other threads:[~2025-02-28 17:31 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-28 8:59 Changwoo Min
2025-02-28 10:03 ` Andrea Righi
2025-02-28 17:31 ` Tejun Heo [this message]
2025-02-28 23:33 ` Changwoo Min
2025-02-28 23:50 ` Tejun Heo
2025-03-01 0:46 ` Changwoo Min
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=Z8Hy6qu8shpYOR83@slm.duckdns.org \
--to=tj@kernel.org \
--cc=arighi@nvidia.com \
--cc=changwoo@igalia.com \
--cc=kernel-dev@igalia.com \
--cc=linux-kernel@vger.kernel.org \
--cc=void@manifault.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
Powered by JetHome