[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <538E7B2F.2000100@gmail.com>
Date: Tue, 03 Jun 2014 19:49:35 -0600
From: David Ahern <dsahern@...il.com>
To: Alexis Berlemont <alexis.berlemont@...il.com>,
linux-kernel@...r.kernel.org
CC: Jiri Olsa <jolsa@...hat.com>, mingo@...nel.org, sam@...nborg.org,
mmarek@...e.cz, Arnaldo Carvalho de Melo <acme@...stprotocols.net>,
Peter Zijlstra <a.p.zijlstra@...llo.nl>,
Ingo Molnar <mingo@...e.hu>, Paul Mackerras <paulus@...ba.org>,
Corey Ashford <cjashfor@...ux.vnet.ibm.com>,
Frederic Weisbecker <fweisbec@...il.com>,
Namhyung Kim <namhyung@...nel.org>,
Borislav Petkov <bp@...en8.de>, linux-kbuild@...r.kernel.org,
Stephane Eranian <eranian@...gle.com>
Subject: Re: [PATCH 03/32] perf tools: Kbuild source related fixies
On 6/3/14, 4:05 PM, Alexis Berlemont wrote:
> From: Jiri Olsa <jolsa@...hat.com>
>
> Fixing several sources config dependencies to allow
> separate config builds.
>
> Signed-off-by: Jiri Olsa <jolsa@...hat.com>
> Cc: Arnaldo Carvalho de Melo <acme@...stprotocols.net>
> Cc: Peter Zijlstra <a.p.zijlstra@...llo.nl>
> Cc: Ingo Molnar <mingo@...e.hu>
> Cc: Paul Mackerras <paulus@...ba.org>
> Cc: Corey Ashford <cjashfor@...ux.vnet.ibm.com>
> Cc: Frederic Weisbecker <fweisbec@...il.com>
> Cc: Namhyung Kim <namhyung@...nel.org>
> Cc: Borislav Petkov <bp@...en8.de>
> Cc: Michal Marek <mmarek@...e.cz>
> Cc: linux-kbuild@...r.kernel.org
> Cc: Stephane Eranian <eranian@...gle.com>
> ---
> tools/perf/builtin-lock.c | 4 +++-
> tools/perf/builtin-sched.c | 2 ++
> tools/perf/perf.c | 6 ++++++
> tools/perf/perf.h | 2 ++
> tools/perf/ui/browsers/scripts.c | 4 ++++
> tools/perf/ui/setup.c | 10 +++++++++-
> 6 files changed, 26 insertions(+), 2 deletions(-)
>
> diff --git a/tools/perf/builtin-lock.c b/tools/perf/builtin-lock.c
> index c852c7a..b255c20 100644
> --- a/tools/perf/builtin-lock.c
> +++ b/tools/perf/builtin-lock.c
> @@ -992,9 +992,11 @@ int cmd_lock(int argc, const char **argv, const char *prefix __maybe_unused)
> usage_with_options(report_usage, report_options);
> }
> rc = __cmd_report(false);
> +#ifdef CONFIG_BULTIN_SCRIPT
> } else if (!strcmp(argv[0], "script")) {
> /* Aliased to 'perf script' */
> - return cmd_script(argc, argv, prefix);
> + rc = cmd_script(argc, argv, prefix);
> +#endif
> } else if (!strcmp(argv[0], "info")) {
> if (argc) {
> argc = parse_options(argc, argv,
Since you are not adding builtin-cmds.h as an included file this change
takes away functionality. Each patch should ensure that existing options
continue to work after the change.
ditto for all of the other changes to other files.
David
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists