You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Install manually all these packages (sudo dpkg -i package_file.deb).
Using perf stat
We'll use system-wide perf stat. For this, we need sudo rights.
Start perf in one terminal: sudo -E perf stat -e 'kvm:*'
Start the gramine-vm app in another terminal: gramine-vm helloworld
After the app is done, stop perf by Ctrl-C
If we want to get the stats only on some part of the app execution (e.g., after the initialization phase), then start perf right-after the app is done with the init phase.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Install TDX-kernel-specific
perf
Get all the packages as specified in the "Linux Stacks" document. In the Linux packages directory, you can do:
Install manually all these packages (
sudo dpkg -i package_file.deb
).Using
perf stat
We'll use system-wide perf stat. For this, we need sudo rights.
sudo -E perf stat -e 'kvm:*'
gramine-vm
app in another terminal:gramine-vm helloworld
Ctrl-C
If we want to get the stats only on some part of the app execution (e.g., after the initialization phase), then start perf right-after the app is done with the init phase.
Links:
Using
perf kvm
sudo -E perf kvm stat record
gramine-vm
app in another terminal:gramine-vm helloworld
Ctrl-C
Now we can analyze via
sudo perf kvm stat report
.Links:
Beta Was this translation helpful? Give feedback.
All reactions