Re: [PATCH] perf, tools, script: Add brstackinsn for branch stacks

From: Arnaldo Carvalho de Melo
Date: Thu Mar 16 2017 - 08:25:48 EST


Em Wed, Mar 15, 2017 at 07:22:18PM -0700, Andi Kleen escreveu:
> > > + memset(&al, 0, sizeof(al));
> > > + if (end - start > MAXBB - MAXINSN) {
> > > + if (last)
> > > + printf("\tbrstack does not reach to final jump (%" PRIx64 "-%" PRIx64 ")\n",
> > > + start, end);
> > > + else
> > > + printf("\tblock %" PRIx64 "-%" PRIx64 " (%ld) too long to dump\n",
>
> Thanks. Should be %" PRIu64 " of course.
>
> Arnaldo, can you do the change

Done.

> or should I send a patch?

- Arnaldo