Re: [PATCH 3/3] perf script: Fix crash because of missing feat_op[] entry

2018-06-20 Thread Ravi Bangoria
Hi Arnaldo, On 06/20/2018 07:19 PM, Arnaldo Carvalho de Melo wrote: > Em Wed, Jun 20, 2018 at 07:00:30PM +0530, Ravi Bangoria escreveu: >> perf_event__process_feature() tries to access feat_ops[feat].process >> which is not defined for feat = HEADER_LAST_FEATURE and thus perf is >> crashing. Add

Re: [PATCH 3/3] perf script: Fix crash because of missing feat_op[] entry

2018-06-20 Thread Ravi Bangoria
Hi Arnaldo, On 06/20/2018 07:19 PM, Arnaldo Carvalho de Melo wrote: > Em Wed, Jun 20, 2018 at 07:00:30PM +0530, Ravi Bangoria escreveu: >> perf_event__process_feature() tries to access feat_ops[feat].process >> which is not defined for feat = HEADER_LAST_FEATURE and thus perf is >> crashing. Add

Re: [PATCH 3/3] perf script: Fix crash because of missing feat_op[] entry

2018-06-20 Thread Arnaldo Carvalho de Melo
Em Wed, Jun 20, 2018 at 07:00:30PM +0530, Ravi Bangoria escreveu: > perf_event__process_feature() tries to access feat_ops[feat].process > which is not defined for feat = HEADER_LAST_FEATURE and thus perf is > crashing. Add dummy entry for HEADER_LAST_FEATURE in the feat_ops. Humm, first

Re: [PATCH 3/3] perf script: Fix crash because of missing feat_op[] entry

2018-06-20 Thread Arnaldo Carvalho de Melo
Em Wed, Jun 20, 2018 at 07:00:30PM +0530, Ravi Bangoria escreveu: > perf_event__process_feature() tries to access feat_ops[feat].process > which is not defined for feat = HEADER_LAST_FEATURE and thus perf is > crashing. Add dummy entry for HEADER_LAST_FEATURE in the feat_ops. Humm, first