• Frederic Weisbecker's avatar
    perf hists: Print newline between hists callchains · 6654f5d8
    Frederic Weisbecker authored
    Tiny cosmetic fix. The lack of a newline between hists callchains was
    looking slightly messy.
    
    Before:
    
         0.24%      swapper  [kernel.kallsyms]  [k] _raw_spin_lock_irq
                    |
                    --- _raw_spin_lock_irq
                        run_timer_softirq
                        __do_softirq
                        call_softirq
                        do_softirq
                        irq_exit
                        smp_apic_timer_interrupt
                        apic_timer_interrupt
                        default_idle
                        amd_e400_idle
                        cpu_idle
                        start_secondary
         0.10%         perf  [kernel.kallsyms]  [k] lock_is_held
                       |
                       --- lock_is_held
                           __might_sleep
                           mutex_lock_nested
                           perf_event_for_each_child
                           perf_ioctl
                           do_vfs_ioctl
                           sys_ioctl
                           system_call_fastpath
                           ioctl
                           cmd_record
                           run_builtin
                           main
                           __libc_start_main
    
    After:
    
         0.24%      swapper  [kernel.kallsyms]  [k] _raw_spin_lock_irq
                    |
                    --- _raw_spin_lock_irq
                        run_timer_softirq
                        __do_softirq
                        call_softirq
                        do_softirq
                        irq_exit
                        smp_apic_timer_interrupt
                        apic_timer_interrupt
                        default_idle
                        amd_e400_idle
                        cpu_idle
                        start_secondary
    
         0.10%         perf  [kernel.kallsyms]  [k] lock_is_held
                       |
                       --- lock_is_held
                           __might_sleep
                           mutex_lock_nested
                           perf_event_for_each_child
                           perf_ioctl
                           do_vfs_ioctl
                           sys_ioctl
                           system_call_fastpath
                           ioctl
                           cmd_record
                           run_builtin
                           main
                           __libc_start_main
    Signed-off-by: default avatarFrederic Weisbecker <fweisbec@gmail.com>
    Cc: David Ahern <dsahern@gmail.com>
    Cc: Ingo Molnar <mingo@kernel.org>
    Cc: Jiri Olsa <jolsa@redhat.com>
    Cc: Namhyung Kim <namhyung@gmail.com>
    Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
    Link: http://lkml.kernel.org/r/1342631456-7233-3-git-send-email-fweisbec@gmail.comSigned-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
    6654f5d8
hist.c 32.2 KB