[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <76f02f9c-139b-f26b-0cc6-6edc486f5244@amd.com>
Date: Fri, 3 Jun 2022 10:58:13 +0530
From: Ravi Bangoria <ravi.bangoria@....com>
To: acme@...nel.org, namhyung@...nel.org
Cc: 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, Ravi Bangoria <ravi.bangoria@....com>
Subject: Re: [PATCH v5 1/8] perf record ibs: Warn about sampling period skew
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.
Thanks,
Ravi
Powered by blists - more mailing lists