I'm glad this feature is useful to people. I haven't looked at the normal profiling process though. If anybody would like to port this code to normal profiling, I'm more than pleased to see that happen. Maybe I'll do that myself when I have time, but do not count on that :)
On Fri, Jun 27, 2014 at 12:18 PM, Andi Kleen <a...@firstfloor.org> wrote: > Yi Yang <ahyan...@google.com> writes: > >> Hi, >> >> This patch adds an option. When the option is enabled, GCC will add a >> record about it in an elf section called >> ".gnu.switches.text.branch.annotation" for every branch. > > This would be nice to have even in mainline for the normal profiling. > > -Andi > > -- > a...@linux.intel.com -- Speaking for myself only