oprofile
呼び出し履歴数 (DEPTH) を追加で指定します:
opcontrol --no-vmlinux --callgraph DEPTH
OProfile デーモンを起動します:opcontrol --start
Using 2.6+ OProfile kernel interface.
Using log file /var/lib/oprofile/samples/oprofiled.log
Daemon started.
Profiler running.
前項の作業が完了したら、プロファイル対象のアプリケーションを起動します。OProfile デーモンを停止します:
opcontrol --stop
収集したデータを /var/lib/oprofile/samples 以下に出力します:opcontrol --dump
レポートを作成します:opreport