pmc-cloud-tools icon indicating copy to clipboard operation
pmc-cloud-tools copied to clipboard

tlbstat: duration isn't implemented for the default "all CPUs" mode

Open martinvonwittich opened this issue 3 years ago • 0 comments

./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

martinvonwittich avatar May 15 '21 22:05 martinvonwittich