Re: [Mesa-dev] [PATCH 03/11] i965: perf: store sysfs device entry into context

2018-03-08 Thread Jason Ekstrand
On Thu, Mar 8, 2018 at 2:39 PM, Lionel Landwerlin < lionel.g.landwer...@intel.com> wrote: > On 08/03/18 22:36, Jason Ekstrand wrote: > > >> hash_table_foreach(brw->perfquery.oa_metrics_table, entry) { >>struct brw_perf_query_info *query = entry->data; >> - char config_path[256]; >

Re: [Mesa-dev] [PATCH 03/11] i965: perf: store sysfs device entry into context

2018-03-08 Thread Lionel Landwerlin
On 08/03/18 22:36, Jason Ekstrand wrote:     hash_table_foreach(brw->perfquery.oa_metrics_table, entry) {        struct brw_perf_query_info *query = entry->data; -      char config_path[256]; +      char config_path[280]; What's with the bump? Because the compiler is complain

Re: [Mesa-dev] [PATCH 03/11] i965: perf: store sysfs device entry into context

2018-03-08 Thread Jason Ekstrand
On Thu, Mar 8, 2018 at 7:42 AM, Lionel Landwerlin < lionel.g.landwer...@intel.com> wrote: > We want to reuse it later on. > > Signed-off-by: Lionel Landwerlin > --- > src/mesa/drivers/dri/i965/brw_context.h | 3 + > src/mesa/drivers/dri/i965/brw_performance_query.c | 146 > ++

[Mesa-dev] [PATCH 03/11] i965: perf: store sysfs device entry into context

2018-03-08 Thread Lionel Landwerlin
We want to reuse it later on. Signed-off-by: Lionel Landwerlin --- src/mesa/drivers/dri/i965/brw_context.h | 3 + src/mesa/drivers/dri/i965/brw_performance_query.c | 146 +++--- 2 files changed, 73 insertions(+), 76 deletions(-) diff --git a/src/mesa/drivers/dri/i965