Date created: Monday, September 18, 2017 12:00:58 PM. Last modified: Monday, October 14, 2024 2:34:47 PM
'perf' - Notes
# Run in a seperate window to the target program that wants to be perf'ed
sudo perf top
# Run the target program through perf to see program specific stats
sudo perf stat ./etherate_mt -i ens2f1 -c 2
# Run in a seperate window to the target app to record all calls
sudo perf record -a -g -o c2.perf
# Read and display the recorded events from the perf record
sudo perf report -i c2.perf
# Record the perf stats for the target application specifically
sudo perf record -a -g -o c2-cmd.perf chrt -r 1 taskset -c 2-5 ./etherate_mt -i ens2f1 -c 2
Previous page: Music & Media Commands
Next page: 'rtorrent' - Notes