giampaolo / psutil

Cross-platform lib for process and system monitoring in Python
BSD 3-Clause "New" or "Revised" License
10.11k stars 1.37k forks source link

add system trace script example #2295

Closed marxin closed 11 months ago

marxin commented 11 months ago

The script makes a system trace based on Trace Event Format: https://docs.google.com/document/d/1CvAClvFfyA5R-PhYUmn5OOQtYMH4h6I0nSsKchNAySU/preview#heading=h.yr4qxyxotyw that can be opened in https://ui.perfetto.dev/ for inspection.

marxin commented 11 months ago

Sample output: Screenshot from 2023-08-15 13-27-01

giampaolo commented 11 months ago

Sorry but this looks too specific / not generic enough to belong in scripts/.

marxin commented 11 months ago

I see! Anyway, thanks for a great library.