Andi,

On Mon, 22 Feb 2016, Andi Kleen wrote:

> Thomas Gleixner <[email protected]> writes:
> >  
> > +static void __init rapl_advertise(void)
> > +{
> > +   int i;
> > +
> > +   pr_info("API unit is 2^-32 Joules, %d fixed counters, %llu ms ovfl 
> > timer\n",
> > +           hweight32(rapl_cntr_mask), rapl_timer_ms);
> 
> Does the final resulting line contain RAPL for grepping?

Yes. That's what the pr_fmt prepends.

[35282.080376] calling  rapl_pmu_init+0x0/0xff5 [perf_event_intel_rapl] @ 10523
[35282.080679] RAPL PMU: API unit is 2^-32 Joules, 3 fixed counters, 655360 ms 
ovfl timer
[35282.088634] RAPL PMU: hw unit of domain pp0-core 2^-14 Joules
[35282.094394] RAPL PMU: hw unit of domain package 2^-14 Joules
[35282.111347] RAPL PMU: hw unit of domain dram 2^-16 Joules
[35282.127514] initcall rapl_pmu_init+0x0/0xff5 [perf_event_intel_rapl] 
returned 0 after 46023 usecs

> Ideally would be similar as before in case someone has a parser for
> this.

It is.

Thanks,

        tglx

Reply via email to