unlikely compiler flag propagation

Valdis.Kletnieks at vt.edu Valdis.Kletnieks at vt.edu
Wed Feb 18 13:57:25 EST 2015


On Wed, 18 Feb 2015 19:38:01 +0100, Nicholas Mc Guire said:
> On Wed, 18 Feb 2015, Greg KH wrote:

> interesting - would you have a reference to some talk/paper/data/... ?

Test for yourself :)

config PROFILE_ANNOTATED_BRANCHES
        bool "Trace likely/unlikely profiler"
        select TRACE_BRANCH_PROFILING
        help
          This tracer profiles all likely and unlikely macros
          in the kernel. It will display the results in:

          /sys/kernel/debug/tracing/trace_stat/branch_annotated

          Note: this will add a significant overhead; only turn this
          on if you need to profile the system's use of these macros.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 848 bytes
Desc: not available
Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20150218/737f971a/attachment.bin 


More information about the Kernelnewbies mailing list