Chris Wilson
6a64ee938b
overlay: Include CPU usage in the overview chart
...
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-18 15:57:47 +01:00
Chris Wilson
98572f0446
overlay: Count flips per plane
...
Stop the misleading double-accounting of flips when we have multiple
displays active.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-18 11:22:52 +01:00
Chris Wilson
b79a28355d
overlay: Improve the horizontal fit of the charts
...
Notably fix the fill boundary to not extend past the right hand side of
the chart.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-17 23:50:21 +01:00
Chris Wilson
f185f46114
overlay: Correct layout of ring/seqno in raw sample
...
For seqno completion, the events are too coarse i.e. one event may
signal the completion of a few seqno. We will need to sort the events to
properly compute the busy times.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-17 23:21:34 +01:00
Chris Wilson
67f533f836
overlay: Accumulate busy times
...
Still a little too course as we add multiple overlapping seqnos and
waits.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-17 22:33:35 +01:00
Chris Wilson
6233cac9c9
overlay: Couple wait begin/end events together to fix accounting
...
Since the events may be processed out of order (due to per-cpu
ringbuffers) we need to be careful to associated wait pairs in order to
compute the correct elapsed time.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-17 22:22:21 +01:00
Chris Wilson
e1d8d774f3
overlay: Perf output redirection must be done after mmap()
...
Effectively you choose to redirect the output of an event instead of
mmapping it directly - but the target must already be mmapped.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-17 22:07:49 +01:00
Chris Wilson
eed59eac47
overlay: Show per-process wait times
...
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-17 21:14:10 +01:00
Chris Wilson
cc9de398cf
overlay: Graph per-process requests over time
...
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-17 20:32:58 +01:00
Chris Wilson
cbbd55af15
overlay: Track requests per-process
...
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-17 20:04:11 +01:00
Chris Wilson
be9937b65c
overlay: Drop unused mmap/comm events
...
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-17 18:48:28 +01:00
Chris Wilson
8cdb5bc5e8
overlay: Constify perf ringbuffer
...
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-17 18:24:39 +01:00
Chris Wilson
3e430a8b01
overlay: Fix wraparound handling of perf ringbuffer
...
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-17 18:09:40 +01:00
Chris Wilson
cc45a9a3db
overlay: Primitive integration with perf
...
We can now record when a pageflip occurs by listening for the flip
tracepoint. Merely proof of principle at this point.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-17 17:42:14 +01:00
Chris Wilson
06c0cc0bb4
overlay: Show GPU waits
...
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-17 12:35:50 +01:00
Chris Wilson
f9a50de3dc
Introduce intel-gpu-overlay
...
A realtime display of GPU activity. Note, this is just at the point of
minimum usability...
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-17 11:21:51 +01:00