Home Running perf within a VirtualBox guest
Reply: 0

Running perf within a VirtualBox guest

user708
1#
user708 Published in April 22, 2018, 6:51 am

My professor has asked me to run:

perf stat -e mem-loads,mem-stores ./test

In order for me to find the memory loads and stores for a C file. I'm doing this from within a VirtualBox Linux guest and and problem is that perf is saying this is an invalid or unsupported event, can anyone advise as to what I'm doing wrong here?

invalid or unsupported event: 'mem-loads,'
Run 'perf list' for a list of valid events

 Usage: perf stat [<options>] [<command>]

    -e, --event <event>   event selector. use 'perf list' to list available events

Are perf hardware events available from within a VirtualBox guest?

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.306329 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO