• Linus Torvalds's avatar
    Merge branch 'perf-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 7e4dc77b
    Linus Torvalds authored
    Pull perf updates from Ingo Molnar:
     "With over 300 commits it's been a busy cycle - with most of the work
      concentrated on the tooling side (as it should).
    
      The main kernel side enhancements were:
    
       - Add per event callchain limit: Recently we introduced a sysctl to
         tune the max-stack for all events for which callchains were
         requested:
    
           $ sysctl kernel.perf_event_max_stack
           kernel.perf_event_max_stack = 127
    
         Now this patch introduces a way to configure this per event, i.e.
         this becomes possible:
    
           $ perf record -e sched:*/max-stack=2/ -e block:*/max-stack=10/ -a
    
         allowing finer tuning of how much buffer space callchains use.
    
         This uses an u16 from the reserved space at the end, leaving
         another u16 for future use.
    
         There has been interest in even finer tuning, namely to control the
         max stack for kernel and userspace callchains separately.  Further...
    7e4dc77b
builtin-check.c 28.5 KB