[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190327135439.GS18020@tassilo.jf.intel.com>
Date: Wed, 27 Mar 2019 06:54:39 -0700
From: Andi Kleen <ak@...ux.intel.com>
To: Jiri Olsa <jolsa@...hat.com>
Cc: Andi Kleen <andi@...stfloor.org>, acme@...nel.org,
jolsa@...nel.org, linux-kernel@...r.kernel.org,
linux-perf-users@...r.kernel.org
Subject: Re: [PATCH 2/4] perf, tools: Implement duration_time as a proper
event
>
> so now that we have time in a separate event, we could
> get rid of the isolated update_stats(&walltime_nsecs_stats) calls
> and move them to perf_stat__update_shadow_stats?
In theory yes, but it would require perf stat always setting up
the duration_time event implicitely and then special handling.
For stat it would need to be hidden to keep the same output.
It's probably simpler to keep the old way for that.
-Andi
Powered by blists - more mailing lists