Messages in this thread | | | Date | Wed, 27 Mar 2019 06:54:39 -0700 | From | Andi Kleen <> | 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
| |