Skip to main content
Remove "apology" (late answers are welcome!), "loosen" the layout to make answer easier to read
Source Link
AdminBee
  • 23.6k
  • 25
  • 55
  • 77

Too late for this maybe, I bumped into this issue recently, but I figured out why and solved it successfully. 

At first, sudo perf list only gives me few lines of events For.

For those who need the complete hardware events in perfperf and is not shown in perf-listperf-list, you need to install the latest linux-toolslinux-tools.

sudo apt-get install linux-tools-4.15.0-106-generic linux-cloud-tools-4.15.0-106-generic linux-tools-generic linux-cloud-tools-generic

Then, running

sudo perf list > perflist.txt

Now I getgets me 1980 lines in perflistperflist.txt.txt

Too late for this maybe, I bumped into this issue recently but I figured out why and solved it successfully. At first, sudo perf list only gives me few lines of events For those who need the complete hardware events in perf and is not shown in perf-list, you need to install the latest linux-tools.

sudo apt-get install linux-tools-4.15.0-106-generic linux-cloud-tools-4.15.0-106-generic linux-tools-generic linux-cloud-tools-generic
sudo perf list > perflist.txt

Now I get 1980 lines in perflist.txt

I bumped into this issue recently, but I figured out why and solved it successfully. 

At first, sudo perf list only gives me few lines of events.

For those who need the complete hardware events in perf and is not shown in perf-list, you need to install the latest linux-tools.

sudo apt-get install linux-tools-4.15.0-106-generic linux-cloud-tools-4.15.0-106-generic linux-tools-generic linux-cloud-tools-generic

Then, running

sudo perf list > perflist.txt

gets me 1980 lines in perflist.txt.

added 63 characters in body
Source Link
Hoo
  • 1
  • 1

Too late for this maybe, I bumped into this issue recently but I figured out why and solved it successfully. At first, sudo perf list only gives me few lines of events For those who need the complete hardware events in perf and is not shown in perf-list, you need to install the latest linux-tools.

sudo apt-get install linux-tools-4.15.0-106-generic linux-cloud-tools-4.15.0-106-generic linux-tools-generic linux-cloud-tools-generic
sudo perf list > perflist.txt

And you will see the complete list of hardware eventsNow I get 1980 lines in perflist.txt

Too late for this maybe, I bumped into this issue recently but I figured out why and solved it successfully. For those who need the complete hardware events in perf and is not shown in perf-list, you need to install the latest linux-tools.

sudo apt-get install linux-tools-4.15.0-106-generic linux-cloud-tools-4.15.0-106-generic linux-tools-generic linux-cloud-tools-generic
perf list

And you will see the complete list of hardware events.

Too late for this maybe, I bumped into this issue recently but I figured out why and solved it successfully. At first, sudo perf list only gives me few lines of events For those who need the complete hardware events in perf and is not shown in perf-list, you need to install the latest linux-tools.

sudo apt-get install linux-tools-4.15.0-106-generic linux-cloud-tools-4.15.0-106-generic linux-tools-generic linux-cloud-tools-generic
sudo perf list > perflist.txt

Now I get 1980 lines in perflist.txt

Source Link
Hoo
  • 1
  • 1

Too late for this maybe, I bumped into this issue recently but I figured out why and solved it successfully. For those who need the complete hardware events in perf and is not shown in perf-list, you need to install the latest linux-tools.

sudo apt-get install linux-tools-4.15.0-106-generic linux-cloud-tools-4.15.0-106-generic linux-tools-generic linux-cloud-tools-generic
perf list

And you will see the complete list of hardware events.