pmc-cloud-tools
pmc-cloud-tools copied to clipboard
tlbstat: duration isn't implemented for the default "all CPUs" mode
./tlbstat 1 10
I had expected tlbstat
to stop after 10 seconds, but instead it runs forever. This is due to the fact that sleep $duration
is only passed to perf
if the -C
or -p
option is given:
https://github.com/brendangregg/pmc-cloud-tools/blob/5d4df1eafe2b9b2f509d2422c9eb948faa07b644/tlbstat#L70-L73