Skip to content

perf-collect can't work #50

Closed Answered by hilldani
shaileneF asked this question in Q&A
Jul 7, 2023 · 13 comments · 1 reply
Discussion options

You must be logged in to vote

Yes there could be several reasons for this.

  1. If you're on ICX or later system then there is a new piece of hardware introduced specifically to collect topdown events. Its the fourth fixed register in the PMU (after cycles, instructions, and ref-cycles). So you'll need a newer perf to know about this
  2. If you're in a VM on ICX or later, most VM's forget to expose the topdown PMU register.
  3. If you're on CLX/SKX then most events got their support added in the following kernels. Some distro's backported further than others.
  4. If it's giving zero for the slots then its not supported. However some of the deeper level (L1 or L2) topdown metrics can actually legitimately give zero because the events …

Replies: 13 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@hilldani
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by hilldani
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
bug Something isn't working
2 participants
Converted from issue

This discussion was converted from issue #46 on August 15, 2023 19:03.