On Fri, Dec 02, 2016 at 04:19:11PM -0500, kan.li...@intel.com wrote:
> +static void
> +perf_calculate_nmi_overhead(u64 time)
> +{
> +     struct cpu_hw_events *cpuc = this_cpu_ptr(&cpu_hw_events);
> +
> +     cpuc->nmi_overhead.nr++;
> +     cpuc->nmi_overhead.time += time;
> +}

This function doesn't calculate anything much.

Reply via email to