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


Groups > linux.kernel > #1553921

Re: [PATCH 03/11] perf, tools: Add support for parsing uncore json files

From Jiri Olsa <jolsa@redhat.com>
Newsgroups linux.kernel
Subject Re: [PATCH 03/11] perf, tools: Add support for parsing uncore json files
Date 2017-01-08 20:00 +0100
Message-ID <sXqRb-1KB-9@gated-at.bofh.it> (permalink)
References <sVySR-85Q-27@gated-at.bofh.it> <sVySR-85Q-25@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

SNIP

>  /*
> diff --git a/tools/perf/util/pmu.c b/tools/perf/util/pmu.c
> index 29c254dd7380..8bffe99d8e3f 100644
> --- a/tools/perf/util/pmu.c
> +++ b/tools/perf/util/pmu.c
> @@ -229,11 +229,13 @@ static int perf_pmu__parse_snapshot(struct perf_pmu_alias *alias,
>  }
>  
>  static int __perf_pmu__new_alias(struct list_head *list, char *dir, char *name,
> -				 char *desc, char *val, char *long_desc,
> -				 char *topic)
> +				 char *desc __maybe_unused, char *val,

no need for 'desc' to be __maybe_unused

jirka

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


Thread

Re: [PATCH 03/11] perf, tools: Add support for parsing uncore json  files Jiri Olsa <jolsa@redhat.com> - 2017-01-08 20:00 +0100
  Re: [PATCH 03/11] perf, tools: Add support for parsing uncore json  files Arnaldo Carvalho de Melo <acme@kernel.org> - 2017-01-12 14:40 +0100

csiph-web