Re: [Mesa-dev] Perfetto CPU/GPU tracing

2021-02-12 Thread John Bates
On Fri, Feb 12, 2021 at 5:01 AM Tamminen, Eero T wrote: > > Unlike some other Linux tracing solutions, Perfetto appears to be for > Android / Chrome(OS?), and not available from in common Linux distro > repos. > > So, why Perfetto instead of one of the other solutions, e.g. from ones > mentioned

Re: [Mesa-dev] Perfetto CPU/GPU tracing

2021-02-12 Thread John Bates
to traced. traced is the main perfetto tracing daemon that notifies all trace data sources to start/stop tracing and communicates with user tracing requests via the 'perfetto' command. > > John Bates writes: > > > I recently opened issue 4262 > > <https://gitlab.

Re: [Mesa-dev] Perfetto CPU/GPU tracing

2021-02-12 Thread John Bates
On Fri, Feb 12, 2021 at 4:34 PM Rob Clark wrote: > On Thu, Feb 11, 2021 at 5:40 PM John Bates wrote: > > > > > > > Runtime Characteristics > > > > ~500KB additional binary size. Even with using only the basic features > of perfetto, it will increase

Re: [Mesa-dev] Perfetto CPU/GPU tracing

2021-02-15 Thread John Bates
I can vouch for the usefulness of the combined trace timeline showing CPU core usage, filtered application events and GPU usage. Android systrace shows this data -- I've used it from both an app developer perspective to fix countless performance bugs and from a whole-system perspective to tune

[Mesa-dev] Perfetto CPU/GPU tracing

2021-02-11 Thread John Bates
I recently opened issue 4262 to begin the discussion on integrating perfetto into mesa. *Background* System-wide tracing is an invaluable tool for developers to find and fix performance problems. The perfetto project enables a combined