Re: [PATCH 1/7] perf cs-etm: Split up etm queue setup function

2021-02-20 Thread Leo Yan
Hi James, On Fri, Feb 12, 2021 at 04:45:07PM +0200, James Clark wrote: > Refactor the function into separate allocation and > timestamp search parts. Later the timestamp search > will be done multiple times. The new introduced function cs_etm__search_first_timestamp() is to search timestamp; if

[PATCH 1/7] perf cs-etm: Split up etm queue setup function

2021-02-12 Thread James Clark
Refactor the function into separate allocation and timestamp search parts. Later the timestamp search will be done multiple times. Signed-off-by: James Clark --- tools/perf/util/cs-etm.c | 60 +--- 1 file changed, 31 insertions(+), 29 deletions(-) diff --git