Re: [PATCH v8 1/3] perf report: compile tips.txt in perf binary
From: Arnaldo Carvalho de Melo
Date: Wed May 26 2021 - 08:41:52 EST
Em Mon, May 24, 2021 at 04:15:12AM -0700, Denys Zagorui escreveu:
> diff --git a/tools/perf/Documentation/Build b/tools/perf/Documentation/Build
> new file mode 100644
> index 000000000000..83e16764caa4
> --- /dev/null
> +++ b/tools/perf/Documentation/Build
> @@ -0,0 +1,9 @@
> +perf-y += tips.o
> +
> +quiet_cmd_ld_tips = LD $@
> + cmd_ld_tips = $(LD) -r -b binary -o $@ $<
> +
> +$(OUTPUT)Documentation/tips.o: Documentation/tips.txt FORCE
> + $(call rule_mkdir)
> + $(call if_changed,ld_tips)
> +
> diff --git a/tools/perf/builtin-report.c b/tools/perf/builtin-report.c
⬢[acme@toolbox perf]$ git am ./v8_20210524_dzagorui_perf_report_compile_tips_txt_in_perf_binary.mbx
Applying: perf report: compile tips.txt in perf binary
.git/rebase-apply/patch:42: new blank line at EOF.
+
warning: 1 line adds whitespace errors.
tools/perf/Documentation/Build:9: new blank line at EOF.
⬢[acme@toolbox perf]$
I'm fixing this up.
- Arnaldo