15 Commits

Author SHA1 Message Date
Chris Wilson
2b961d9573 overlay: Hide idle processes
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-29 13:33:58 +01:00
Chris Wilson
474ce5396e overlay: Monitor per-ring context switch rate
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-29 13:33:58 +01:00
Chris Wilson
908df374a9 overlay: Count number of semaphores used by each process
This required me to contract the per-process information considerably,
hopefully readability is not sacrificed too much.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-26 14:34:05 +01:00
Chris Wilson
184786988e overlay: Fill the blank charts with error messages
Instead of showing nothing, show a "space left intentionally blank"
message.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-22 10:59:58 +00:00
Chris Wilson
b20a6b8279 overlay: Remove busy estimation
Too inaccurate to be useful.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-22 03:25:02 +01:00
Chris Wilson
b98bade56e overlay: Add copyright statements
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2013-08-20 21:39:27 +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
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
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
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
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