Re: [PATCH V7 12/14] perf, tools, stat: Support new per thread TopDown metrics

From: Andi Kleen
Date: Thu Jul 23 2020 - 23:29:32 EST


> + if (topdown_metric_attrs[0] && str) {`
> + if (!stat_config.interval) {
> + fprintf(stat_config.output,
> + "Topdown accuracy may decreases when measuring long period.\n"
> + "Please print the result regularly, e.g. -I1000\n");

Can you disable this warning when --metrics-only is used? In this case it doesn't matter
because the error is proportional to the percentage accuracy and should be invisible.

You can only see a difference when looking at the expanded counts.

-andi