--- bar
                             main
                             __libc_start_main
    
                 60.00%    60.00%  foo
                         |
                         --- foo
                             bar
                             main
                             __libc_start_main
               .ft
    
           In the above output, the _self_ overhead of _foo_ (60%) was add to
           the _children_ overhead of _bar_ , _main_ and ___libc_start_main_.
           Likewise, the _self_ overhead of _bar_ (40%) was added to the
           _children_ overhead of _main_ and _\_\_libc_start_main_.
    
           So _\_\_libc_start_main_ and _main_ are shown first since they have
           same (100%) _children_ overhead (even though they have zero _self_
           overhead) and they are the parents of _foo_ and _bar_.
    
           Since v3.16 the _children_ overhead is shown by default and the
           output is sorted by its values. The _children_ overhead is disabled
           by specifying --no-children option on the command line or by
           adding _report.children = false_ or _top.children = false_ in the
           perf config file.
    

##  SEE ALSO  top

    
    
           [perf-stat(1)](../man1/perf-stat.1.html), [perf-list(1)](../man1/perf-list.1.html), [perf-report(1)](../man1/perf-report.1.html)
    

##  COLOPHON  top

    
    
           This page is part of the _perf_ (Performance analysis tools for
           Linux (in Linux source tree)) project.  Information about the
           project can be found at 
           â¨<https://perf.wiki.kernel.org/index.php/Main_Page>â©.  If you have a
           bug report for this manual page, send it to
           linux-kernel@vger.kernel.org.  This page was obtained from the
           project's upstream Git repository
           â¨<http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git>â©
           on 2023-12-22.  (At that time, the date of the most recent commit
           that was found in the repository was 2023-12-21.)  If you
           discover any rendering problems in this HTML version of the page,
           or you believe there is a better or more up-to-date source for
           the page, or you have corrections or improvements to the
           information in this COLOPHON (which is _not_ part of the original
           manual page), send a mail to man-pages@man7.org
    
    perf                           2023-04-04                    _PERF-TOP_(1)
    

* * *

Pages that refer to this page: [ perf(1) ](../man1/perf.1.html) , [ perf-
buildid-list(1) ](../man1/perf-buildid-list.1.html) , [ perf-kvm(1)
](../man1/perf-kvm.1.html) , [ perf-list(1) ](../man1/perf-list.1.html) , [
perf-stat(1) ](../man1/perf-stat.1.html)

* * *

* * *

HTML rendering created 2023-12-22 by [ Michael Kerrisk ](https://man7.org/mtk/index.html) , author of [ _The Linux Programming Interface_ ](https://man7.org/tlpi/) .  For details of in-depth **Linux/UNIX system programming training courses** that I teach, look [ here ](https://man7.org/training/) .  Hosting by [ jambit GmbH ](https://www.jambit.com/index_en.html) .  |  |  [ ![Cover of TLPI](https://man7.org/tlpi/cover/TLPI-front-cover-vsmall.png) ](https://man7.org/tlpi/)  
---|---|---  
  
* * *

[ ![Web Analytics Made Easy -

StatCounter](https://c.statcounter.com/7422636/0/9b6714ff/1/)
](https://statcounter.com/ "Web Analytics

Made Easy - StatCounter")