giampaolo / psutil

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

add system trace script example #2295

Closed marxin closed 1 year ago

marxin commented 1 year 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 1 year ago

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

giampaolo commented 1 year ago

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

marxin commented 1 year ago

I see! Anyway, thanks for a great library.