On Mon, Mar 09, 2020 at 11:55:50AM +0530, Kajol Jain wrote:

SNIP

> diff --git a/tools/perf/util/expr.l b/tools/perf/util/expr.l
> index 1928f2a3dddc..ec4b00671f67 100644
> --- a/tools/perf/util/expr.l
> +++ b/tools/perf/util/expr.l
> @@ -45,6 +45,21 @@ static char *normalize(char *str)
>                       *dst++ = '/';
>               else if (*str == '\\')
>                       *dst++ = *++str;
> +        else if (*str == '?') {
> +

extra line ^^^

jirka

> +                     int size = snprintf(NULL, 0, "%d", expr__runtimeparam);
> +                     char * paramval = (char *)malloc(size);
> +                     int i = 0;
> +
> +                     if(!paramval)

SNIP

Reply via email to