Re: [PATCH v5 1/8] perf record ibs: Warn about sampling period skew

From: Arnaldo Carvalho de Melo
Date: Fri Jun 03 2022 - 15:25:56 EST


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