Re: [PATCH v4 1/3] libperf: Move perf_counts_values__scale to tools/lib/perf

From: nakamura.shun@xxxxxxxxxxx
Date: Tue Dec 07 2021 - 02:28:39 EST


> Move perf_counts_values__scale from tools/perf/util to tools/lib/perf
> so that it can be used with libperf.
>
> Signed-off-by: Shunsuke Nakamura <nakamura.shun@xxxxxxxxxxx>
> ---
>  tools/lib/perf/evsel.c              | 19 +++++++++++++++++++
>  tools/lib/perf/include/perf/evsel.h |  4 ++++
>  tools/lib/perf/libperf.map          |  1 +
>  tools/perf/util/evsel.c             | 19 -------------------
>  tools/perf/util/evsel.h             |  3 ---
>  5 files changed, 24 insertions(+), 22 deletions(-)

I missed to update tools/lib/perf/Documentation/libperf.txt, so I will fix it.