diff options
author | Lionel Landwerlin <[email protected]> | 2019-12-03 16:35:45 +0200 |
---|---|---|
committer | Dylan Baker <[email protected]> | 2019-12-04 14:44:04 -0800 |
commit | 21a4be582c1f9723e4ff952ae5de06856761bea6 (patch) | |
tree | 1733ef646bfae3b0e3210badb8704f7a78bcc3d9 /src | |
parent | 272c4f27117ab6588bf8e6d7db01e0f4d5048f4e (diff) |
intel/perf: fix improper pointer access
This expression was unused by the macro, probably why it didn't
register in the compilation.
Signed-off-by: Lionel Landwerlin <[email protected]>
Cc: <[email protected]>
Reviewed-by: Mark Janes <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
(cherry picked from commit ddacd3d43b203e7c66ec366820e2a230b7e3aa67)
Diffstat (limited to 'src')
-rw-r--r-- | src/intel/perf/gen_perf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/perf/gen_perf.c b/src/intel/perf/gen_perf.c index d7d7654fba5..6b10b9d53da 100644 --- a/src/intel/perf/gen_perf.c +++ b/src/intel/perf/gen_perf.c @@ -2143,7 +2143,7 @@ accumulate_oa_reports(struct gen_perf_context *perf_ctx, first_samples_node = query->oa.samples_head->next; foreach_list_typed_from(struct oa_sample_buf, buf, link, - &perf_ctx.sample_buffers, + &perf_ctx->sample_buffers, first_samples_node) { int offset = 0; |