Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1740668
| From | Jiri Olsa <jolsa@redhat.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v2 3/6] perf util: Create function to parse time percent |
| Date | 2017-09-27 14:30 +0200 |
| Message-ID | <uujDs-2nV-21@gated-at.bofh.it> (permalink) |
| References | <utOpX-7kB-7@gated-at.bofh.it> <utOpX-7kB-9@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
Re: [PATCH v2 3/6] perf util: Create function to parse time percent Jiri Olsa <jolsa@redhat.com> - 2017-09-27 14:30 +0200
csiph-web