Passer au contenu

perf is a vital performance measurement tool

0

We've encountered an issue with the perf command not working on our current AWS instance. When running the command sudo perf stat -e instructions:u echo "soma", it returns <not supported> instructions, which is unexpected.

demandé il y a 2 ans587 vues

1 réponse
1

Hello.

Could you please share the type of OS you are using on EC2?
Also, if you run the command below, will "instructions" be output to the list?
If it is not output, it may not be supported.
https://man7.org/linux/man-pages/man1/perf-list.1.html

perf list
EXPERT

répondu il y a 2 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.