Messages in this thread | | | Date | Mon, 1 Aug 2022 19:27:27 +0800 | From | Leo Yan <> | Subject | Re: [PATCH 1/2] perf stat: refactor __run_perf_stat common code |
| |
On Fri, Jul 29, 2022 at 04:12:43PM +0000, Adrián Herrera Arcila wrote: > This extracts common code from the branches of the forks if-then-else. > enable_counters(), which was at the beginning of both branches of the > conditional, is now unconditional; evlist__start_workload is extracted > to a different if, which enables making the common clocking code > unconditional. > > Signed-off-by: Adrián Herrera Arcila <adrian.herrera@arm.com>
Reviewed-by: Leo Yan <leo.yan@linaro.org>
| |