On Tue, Sep 26, 2017 at 06:57:59PM +0800, Jin Yao wrote:

SNIP

> +
> +             if (p2)
> +                     p1 = p2 + 1;
> +             else
> +                     break;
> +     }
> +
> +     free(str);
> +     return i;
> +}
> +
> +int perf_time__percent_parse_str(struct perf_time_interval *ptime_buf, int 
> num,
> +                              const char *ostr, u64 start, u64 end)
> +{

this function is perfect for automated test ;-)

jirka

Reply via email to