[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.11.1602221956320.2477@nanos>
Date: Mon, 22 Feb 2016 19:58:16 +0100 (CET)
From: Thomas Gleixner <tglx@...utronix.de>
To: Andi Kleen <andi@...stfloor.org>
cc: LKML <linux-kernel@...r.kernel.org>,
Peter Zijlstra <peterz@...radead.org>, x86@...nel.org,
Borislav Petkov <bp@...en8.de>,
Stephane Eranian <eranian@...gle.com>,
Harish Chegondi <harish.chegondi@...el.com>,
Kan Liang <kan.liang@...el.com>,
Andi Kleen <andi.kleen@...el.com>,
Jacob Pan <jacob.jun.pan@...ux.intel.com>
Subject: Re: [patch V2 22/28] x86/perf/intel/rapl: Cleanup the printk
output
Andi,
On Mon, 22 Feb 2016, Andi Kleen wrote:
> Thomas Gleixner <tglx@...utronix.de> 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
Powered by blists - more mailing lists