I'm on
Ubuntu 22.04.5 LTS (GNU/Linux 6.8.0-45-generic x86_64)
I installed the perf packages
apt install linux-tools-common linux-tools-generic linux-tools-$(uname -r)
but when I try to run perf trace
it's complaining that subcommand isn't available
akhil@akhil-Inspiron-5559:~$ perf trace
perf: 'trace' is not a perf-command. See 'perf --help'.
akhil@akhil-Inspiron-5559:~$ sudo perf trace
[sudo] password for akhil:
perf: 'trace' is not a perf-command. See 'perf --help'.
however I think it is installed because when I run man perf trace
I get the man page
PERF-TRACE(1) perf Manual PERF-TRACE(1)
NAME
perf-trace - strace inspired tool
SYNOPSIS
perf trace
perf trace record
any ideas what could be happenning?
EDITS
In response to @Romeo's suggestion
akhil@akhil-Inspiron-5559:~$ perf-trace
perf-trace: command not found
akhil@akhil-Inspiron-5559:~$ sudo perf-trace
[sudo] password for akhil:
sudo: perf-trace: command not found
Asked by Rockstar5645
(113 rep)
Oct 9, 2024, 03:45 PM
Last activity: Oct 9, 2024, 07:25 PM
Last activity: Oct 9, 2024, 07:25 PM