diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2016-07-07 15:42:33 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2016-07-12 15:20:24 -0300 |
commit | d0761e37fe3fed7810ed8d6e130b79359f0c3e13 (patch) | |
tree | dec9e6cc9008a1b80856cbc1ec1897dce975776c /tools/perf/util/Build | |
parent | 5496bc0c0d255f2a8a3a4c36087eb3b72ff63ea0 (diff) | |
download | op-kernel-dev-d0761e37fe3fed7810ed8d6e130b79359f0c3e13.zip op-kernel-dev-d0761e37fe3fed7810ed8d6e130b79359f0c3e13.tar.gz |
perf tools: Uninline scnprintf() and vscnprint()
They were in tools/include/linux/kernel.h, requiring that it in turn
included stdio.h, which is way too heavy.
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Josh Poimboeuf <jpoimboe@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/n/tip-855h8olnkot9v0dajuee1lo3@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/Build')
-rw-r--r-- | tools/perf/util/Build | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/perf/util/Build b/tools/perf/util/Build index a6a8053..eda68f5 100644 --- a/tools/perf/util/Build +++ b/tools/perf/util/Build @@ -85,6 +85,7 @@ libperf-y += parse-regs-options.o libperf-y += term.o libperf-y += help-unknown-cmd.o libperf-y += mem-events.o +libperf-y += vsprintf.o libperf-$(CONFIG_LIBBPF) += bpf-loader.o libperf-$(CONFIG_BPF_PROLOGUE) += bpf-prologue.o @@ -181,3 +182,7 @@ $(OUTPUT)util/str_error_r.o: ../lib/str_error_r.c FORCE $(OUTPUT)util/hweight.o: ../lib/hweight.c FORCE $(call rule_mkdir) $(call if_changed_dep,cc_o_c) + +$(OUTPUT)util/vsprintf.o: ../lib/vsprintf.c FORCE + $(call rule_mkdir) + $(call if_changed_dep,cc_o_c) |