
perf
List of commands for perf:
-
perf:tldr:1cad9 perf: Record the profile of an existing process into `perf.data`.$ sudo perf record -p ${pid}try on your machineexplain this command
-
perf:tldr:3bb38 perf: Read `perf.data` (created by `perf record`) and display the profile.$ sudo perf reporttry on your machineexplain this command
-
perf:tldr:590b1 perf: Display system-wide real-time performance counter profile.$ sudo perf toptry on your machineexplain this command
-
perf:tldr:755f7 perf: Display basic performance counter stats for a command.$ perf stat ${gcc hello-c}try on your machineexplain this command
-
perf:tldr:d5e06 perf: Run a command and record its profile into `perf.data`.$ sudo perf record ${command}try on your machineexplain this command