Skip to content

Commit

Permalink
i915-perf: comment what is going on with i915_request_add
Browse files Browse the repository at this point in the history
  • Loading branch information
llandwerlin-intel authored and mikesart committed Dec 30, 2020
1 parent 879d723 commit 7640f24
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/gpuvis.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2125,6 +2125,8 @@ void TraceEvents::init_i915_perf_event( trace_event_t &event )
event.id_start = m_i915.perf_locs.back();
else
{
// Figure out which kernel trace point triggered this GPU generated
// event.
for ( uint32_t i = 1; i <= event.id; i++ )
{
const trace_event_t &req_event = m_events[ event.id - i ];
Expand Down

0 comments on commit 7640f24

Please sign in to comment.