[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220801112726.GA73228@leoy-ThinkPad-X240s>
Date: Mon, 1 Aug 2022 19:27:27 +0800
From: Leo Yan <leo.yan@...aro.org>
To: Adrián Herrera Arcila <adrian.herrera@....com>
Cc: linux-kernel@...r.kernel.org, linux-perf-users@...r.kernel.org,
acme@...nel.org, peterz@...radead.org, mingo@...hat.com,
mark.rutland@....com, alexander.shishkin@...ux.intel.com,
jolsa@...nel.org, namhyung@...nel.org, songliubraving@...com,
james.clark@....com
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@....com>
Reviewed-by: Leo Yan <leo.yan@...aro.org>
Powered by blists - more mailing lists