[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YppgOuFXzaTmCsmY@kernel.org>
Date: Fri, 3 Jun 2022 21:25:46 +0200
From: Arnaldo Carvalho de Melo <acme@...nel.org>
To: Ravi Bangoria <ravi.bangoria@....com>
Cc: namhyung@...nel.org, kan.liang@...ux.intel.com, jolsa@...nel.org,
irogers@...gle.com, peterz@...radead.org, rrichter@....com,
mingo@...hat.com, mark.rutland@....com, tglx@...utronix.de,
bp@...en8.de, james.clark@....com, leo.yan@...aro.org,
ak@...ux.intel.com, eranian@...gle.com, like.xu.linux@...il.com,
x86@...nel.org, linux-perf-users@...r.kernel.org,
linux-kernel@...r.kernel.org, sandipan.das@....com,
ananth.narayan@....com, kim.phillips@....com,
santosh.shukla@....com
Subject: Re: [PATCH v5 1/8] perf record ibs: Warn about sampling period skew
Em Fri, Jun 03, 2022 at 10:58:13AM +0530, Ravi Bangoria escreveu:
> On 03-Jun-22 10:42 AM, Ravi Bangoria wrote:
> >>> + if (ibs_fetch_pmu && ibs_fetch_pmu->type == evsel_pmu->type) {
> >>> + if (attr->config & (1ULL << 59)) {
> >>
> >> It'd be nice if we used a macro or something instead of the
> >> magic number.
> >>
> >>> + ibs_l3miss_warn();
> >>> + warned_once = 1;
> >>> + }
> >>> + } else if (ibs_op_pmu && ibs_op_pmu->type == evsel_pmu->type) {
> >>> + if (attr->config & (1ULL << 16)) {
> >>
> >> Ditto.
> >
> > Thanks for the review, Namhyung.
> >
> > Arnaldo, Would you be able to squash below trivial patch into original
> > patch? Please let me know if you want me to respin the series instead.
>
> I'm planning to respin with asprintf() change. Sorry for the noise.
Ok, will wait for the respin then.
- Arnaldo
Powered by blists - more mailing lists