microsoft / perfview

PerfView is a CPU and memory performance-analysis tool
http://channel9.msdn.com/Series/PerfView-Tutorial
MIT License
4.06k stars 696 forks source link

Add -buffersize to perfcollect #1995

Closed brianrob closed 5 months ago

brianrob commented 5 months ago

Enable users capturing larger traces or traces of larger workloads to specify a buffer size to perf_events.

Adds -buffersize argument that takes a value of the following format:

Example usages include:

Note: perf will convert the value to a number of pages, and then round up to the nearest power of 2. Thus, we shouldn't see a smaller buffer size, but we may see a larger size than requested.