Perf events for GPU drivers - 2011.10

Registered by Chunsang Jeong

As perf supports system-wide events (soon), it would be really useful to have the kernel device drivers for GPUs generate perf events to improve profiling.

Blueprint information

Status:
Complete
Approver:
Jesse Barker
Priority:
Medium
Drafter:
Chunsang Jeong
Direction:
Approved
Assignee:
Chunsang Jeong
Definition:
Approved
Series goal:
Accepted for 2011.11
Implementation:
Implemented
Milestone target:
milestone icon 2011.10
Started by
Chunsang Jeong
Completed by
Chunsang Jeong

Related branches

Sprints

Whiteboard

[ChunsangJeong Sep 19 2011]
If it takes time to implement glmark2 to Origen, then will try to use simpler benchmark to measure performance with/without profiling option.
[ChunsangJeong Oct 19 2011]
Can use /proc/mali or debugfs for getting perf data from Mali driver, though it wasn't tested with complex benchmark but it wouldn't system resource if getting perf data with /proc/mali; will measure performance with proper complex benchmark in the future.

Headline: Hook performance events from GPU

Acceptance: User can get performance events from GPU (Mali) by reading dumped file with enabling STATE_TRACKING.

(?)

Work Items

Work items:
Check potential performance drop on profiling option with glmark2: POSTPONED
Check potential performance drop on profiling option with complex benchmark: DONE
Adding "mali proc" to profiling Mali performance, not only using dumped file: DONE
Verifiying and bug fix on "mali proc" working on complex benchmark samples: DONE

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.