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


Groups > linux.kernel > #1561699

Re: [PATCH 06/11] perf, tools: Add debug support for outputing alias string

From Jiri Olsa <jolsa@redhat.com>
Newsgroups linux.kernel
Subject Re: [PATCH 06/11] perf, tools: Add debug support for outputing alias string
Date 2017-01-18 13:30 +0100
Message-ID <t0Xxg-430-9@gated-at.bofh.it> (permalink)
References <sVySR-85Q-27@gated-at.bofh.it> <sVz2x-8cw-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Jan 03, 2017 at 07:08:28AM -0800, Andi Kleen wrote:

SNIP

> diff --git a/tools/perf/util/pmu.c b/tools/perf/util/pmu.c
> index 4bfc98953aba..e0c43698fd62 100644
> --- a/tools/perf/util/pmu.c
> +++ b/tools/perf/util/pmu.c
> @@ -275,6 +275,8 @@ static int __perf_pmu__new_alias(struct list_head *list, char *dir, char *name,
>  		snprintf(alias->unit, sizeof(alias->unit), "%s", unit);
>  	}
>  	alias->per_pkg = perpkg && sscanf(perpkg, "%d", &num) == 1 && num == 1;
> +	alias->str = strdup(val);

where's this one released?

jirka

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Re: [PATCH 06/11] perf, tools: Add debug support for outputing alias  string Jiri Olsa <jolsa@redhat.com> - 2017-01-18 13:30 +0100
  Re: [PATCH 06/11] perf, tools: Add debug support for outputing alias  string Andi Kleen <ak@linux.intel.com> - 2017-01-18 16:50 +0100
    Re: [PATCH 06/11] perf, tools: Add debug support for outputing alias  string Jiri Olsa <jolsa@redhat.com> - 2017-01-18 17:30 +0100

csiph-web