[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAP-5=fUGLy9xGmMO+6PXvfviB4U8Q8O7H3iTSSqEf72vin8gDA@mail.gmail.com>
Date: Tue, 1 Apr 2025 12:54:12 -0700
From: Ian Rogers <irogers@...gle.com>
To: Leo Yan <leo.yan@....com>
Cc: Arnaldo Carvalho de Melo <acme@...nel.org>, Namhyung Kim <namhyung@...nel.org>,
Adrian Hunter <adrian.hunter@...el.com>, "Liang, Kan" <kan.liang@...ux.intel.com>,
James Clark <james.clark@...aro.org>, linux-perf-users@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] perf tests switch-tracking: Fix timestamp comparison
On Tue, Apr 1, 2025 at 2:14 AM Leo Yan <leo.yan@....com> wrote:
>
> On Mon, Mar 31, 2025 at 01:18:31PM -0700, Ian Rogers wrote:
>
> [...]
>
> > I'm reminded of a Java check I wrote for this:
>
> Nice short article.
>
> > In clang -Wshorten-64-to-32 looks to cover this. I'll see if we can
> > clean those warnings up a bit.
>
> I checked a bit and seems GCC has no this flag, but it makes sense for
> me to enable the flag for Clang.
>
> > Reviewed-by: Ian Rogers <irogers@...gle.com>
>
> Thanks a lot, Ian.
I made a small variation to the change in:
https://lore.kernel.org/lkml/20250401182347.3422199-10-irogers@google.com/
to avoid a subtract and just directly compare the values.
Thanks,
Ian
> Leo
Powered by blists - more mailing lists