diff options
author | Lionel Landwerlin <lionel.g.landwerlin@intel.com> | 2019-12-03 16:35:45 +0200 |
---|---|---|
committer | Lionel Landwerlin <lionel.g.landwerlin@intel.com> | 2019-12-04 09:21:15 +0000 |
commit | ddacd3d43b203e7c66ec366820e2a230b7e3aa67 (patch) | |
tree | 62dc3c0db2614d393a97b9e4414891d6255f66db /src/intel/perf | |
parent | 8c0b05826304370ef9e5f1e607d0f0305a0eb759 (diff) | |
download | mesa-ddacd3d43b203e7c66ec366820e2a230b7e3aa67.tar.gz |
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 <lionel.g.landwerlin@intel.com>
Cc: <mesa-stable@lists.freedesktop.org>
Reviewed-by: Mark Janes <mark.a.janes@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Diffstat (limited to 'src/intel/perf')
-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 0aa3845a29c..4c47aa6dcf2 100644 --- a/src/intel/perf/gen_perf.c +++ b/src/intel/perf/gen_perf.c @@ -2296,7 +2296,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; |