Re: [PATCH V8 15/25] perf tools: Validate config term maximum value

2015-08-06 Thread Arnaldo Carvalho de Melo
Em Fri, Jul 17, 2015 at 07:33:50PM +0300, Adrian Hunter escreveu: > Currently the value of a PMU config term is silently > truncated if it is too big. This is an impediment to > validating the value for other criteria later on i.e. > the user provides an invalid value that gets truncated > to a val

[PATCH V8 15/25] perf tools: Validate config term maximum value

2015-07-17 Thread Adrian Hunter
Currently the value of a PMU config term is silently truncated if it is too big. This is an impediment to validating the value for other criteria later on i.e. the user provides an invalid value that gets truncated to a valid one. The maximum value validation is only done for the parser where the