Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1740668 > unrolled thread

Re: [PATCH v2 3/6] perf util: Create function to parse time percent

Started byJiri Olsa <jolsa@redhat.com>
First post2017-09-27 14:30 +0200
Last post2017-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.


Contents

  Re: [PATCH v2 3/6] perf util: Create function to parse time percent Jiri Olsa <jolsa@redhat.com> - 2017-09-27 14:30 +0200

#1740668 — Re: [PATCH v2 3/6] perf util: Create function to parse time percent

FromJiri Olsa <jolsa@redhat.com>
Date2017-09-27 14:30 +0200
SubjectRe: [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

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web