Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1740668 > unrolled thread
| Started by | Jiri Olsa <jolsa@redhat.com> |
|---|---|
| First post | 2017-09-27 14:30 +0200 |
| Last post | 2017-09-27 14:30 +0200 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: [PATCH v2 3/6] perf util: Create function to parse time percent Jiri Olsa <jolsa@redhat.com> - 2017-09-27 14:30 +0200
| From | Jiri Olsa <jolsa@redhat.com> |
|---|---|
| Date | 2017-09-27 14:30 +0200 |
| Subject | Re: [PATCH v2 3/6] perf util: Create function to parse time percent |
| Message-ID | <uujDs-2nV-21@gated-at.bofh.it> |
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 top | Article view | linux.kernel
csiph-web