Thank you for the info.

I researched a bit and found that srcline uses addr2line capabilities
to map memory addressed into source lines. Nevertheless, as I invoke

$ perf report -s srcline, sys

only the original mem addresses are printed. Should I pass some
special parameter for perf record to make it work?

Best regards,
Lucas


On 30 April 2014 17:10, Andi Kleen <a...@firstfloor.org> wrote:
>
> "lhmaster2 ." <lhmast...@gmail.com> writes:
>
> > Dear all,
> >
> > Is there any way to make perf report retrieve the total overhead due
> > to loop blocks, like what is done with total function overhead?
>
> perf has no idea what a loop is unfortunately.
>
> You can use srcline as a sort key to account per line.
>
> -Andi
>
> --
> a...@linux.intel.com -- Speaking for myself only
--
To unsubscribe from this list: send the line "unsubscribe linux-perf-users" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to