• Skip to primary navigation
  • Skip to content
  • Skip to footer
Filling the gaps Filling the gaps
  • Posts
  • Resume
    Shyamal Vaderia

    Shyamal Vaderia

    Mapping Knowledge

    • Pittsburgh
    • Email
    • GitHub
    • LinkedIn
    • Codeforces
    • Codechef

    Perf to the rescue

    Perf is way more better than guessing.

    install perf by googling, works on linux machines (linux is anyways better)

    perf record -p <PID> --call-graph dwarf -- sleep 15
    
    perf report -i perf_custom.data
    

    Inside the report press ?

    Have fun!

    Tags: cmd, linux, perf

    Categories: Wiki

    Updated: December 7, 2024

    Twitter Facebook LinkedIn
    Previous Next
    • GitHub
    • Codeforces
    • Feed
    © 2025 Shyamal Vaderia. Powered by Jekyll & Minimal Mistakes.