summaryrefslogtreecommitdiffstats
path: root/tools/perf/Makefile
diff options
context:
space:
mode:
authorJiri Olsa <jolsa@redhat.com>2013-04-14 22:06:58 -0400
committerArnaldo Carvalho de Melo <acme@redhat.com>2013-05-30 09:46:48 -0400
commit8e1b3f68684c51c96df2a71b5e16167b43e5daa0 (patch)
tree5185cadbf65e0967d30a611e242360ad95330dae /tools/perf/Makefile
parent4e22db46495f951d3b652277047639ea60c89d3c (diff)
perf tools: Replace tabs with spaces for all non-commands statements
Replacing tabs with spaces for all non-commands statements in 'Makefile' and 'config/Makefile' files. Suggested-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: Jiri Olsa <jolsa@redhat.com> Cc: Borislav Petkov <bp@alien8.de> Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Ingo Molnar <mingo@elte.hu> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Sam Ravnborg <sam@ravnborg.org> Cc: Stephane Eranian <eranian@google.com> Link: http://lkml.kernel.org/r/1369398928-9809-23-git-send-email-jolsa@redhat.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/Makefile')
-rw-r--r--tools/perf/Makefile80
1 files changed, 40 insertions, 40 deletions
diff --git a/tools/perf/Makefile b/tools/perf/Makefile
index 8f50afe09c02..ac52598e0f5a 100644
--- a/tools/perf/Makefile
+++ b/tools/perf/Makefile
@@ -124,14 +124,14 @@ strip-libs = $(filter-out -l%,$(1))
124LK_PATH=$(LK_DIR) 124LK_PATH=$(LK_DIR)
125 125
126ifneq ($(OUTPUT),) 126ifneq ($(OUTPUT),)
127 TE_PATH=$(OUTPUT) 127 TE_PATH=$(OUTPUT)
128ifneq ($(subdir),) 128ifneq ($(subdir),)
129 LK_PATH=$(OUTPUT)$(LK_DIR) 129 LK_PATH=$(OUTPUT)$(LK_DIR)
130else 130else
131 LK_PATH=$(OUTPUT) 131 LK_PATH=$(OUTPUT)
132endif 132endif
133else 133else
134 TE_PATH=$(TRACE_EVENT_DIR) 134 TE_PATH=$(TRACE_EVENT_DIR)
135endif 135endif
136 136
137LIBTRACEEVENT = $(TE_PATH)libtraceevent.a 137LIBTRACEEVENT = $(TE_PATH)libtraceevent.a
@@ -175,10 +175,10 @@ OTHER_PROGRAMS = $(OUTPUT)perf
175 175
176# Set paths to tools early so that they can be used for version tests. 176# Set paths to tools early so that they can be used for version tests.
177ifndef SHELL_PATH 177ifndef SHELL_PATH
178 SHELL_PATH = /bin/sh 178 SHELL_PATH = /bin/sh
179endif 179endif
180ifndef PERL_PATH 180ifndef PERL_PATH
181 PERL_PATH = /usr/bin/perl 181 PERL_PATH = /usr/bin/perl
182endif 182endif
183 183
184export PERL_PATH 184export PERL_PATH
@@ -433,7 +433,7 @@ PERFLIBS = $(LIB_FILE) $(LIBLK) $(LIBTRACEEVENT)
433-include arch/$(ARCH)/Makefile 433-include arch/$(ARCH)/Makefile
434 434
435ifneq ($(OUTPUT),) 435ifneq ($(OUTPUT),)
436 CFLAGS += -I$(OUTPUT) 436 CFLAGS += -I$(OUTPUT)
437endif 437endif
438 438
439ifdef NO_LIBELF 439ifdef NO_LIBELF
@@ -452,67 +452,67 @@ LIB_OBJS += $(OUTPUT)util/symbol-minimal.o
452 452
453else # NO_LIBELF 453else # NO_LIBELF
454ifndef NO_DWARF 454ifndef NO_DWARF
455 LIB_OBJS += $(OUTPUT)util/probe-finder.o 455 LIB_OBJS += $(OUTPUT)util/probe-finder.o
456 LIB_OBJS += $(OUTPUT)util/dwarf-aux.o 456 LIB_OBJS += $(OUTPUT)util/dwarf-aux.o
457endif # NO_DWARF 457endif # NO_DWARF
458endif # NO_LIBELF 458endif # NO_LIBELF
459 459
460ifndef NO_LIBUNWIND 460ifndef NO_LIBUNWIND
461 LIB_OBJS += $(OUTPUT)util/unwind.o 461 LIB_OBJS += $(OUTPUT)util/unwind.o
462endif 462endif
463 463
464ifndef NO_LIBAUDIT 464ifndef NO_LIBAUDIT
465 BUILTIN_OBJS += $(OUTPUT)builtin-trace.o 465 BUILTIN_OBJS += $(OUTPUT)builtin-trace.o
466endif 466endif
467 467
468ifndef NO_SLANG 468ifndef NO_SLANG
469 LIB_OBJS += $(OUTPUT)ui/browser.o 469 LIB_OBJS += $(OUTPUT)ui/browser.o
470 LIB_OBJS += $(OUTPUT)ui/browsers/annotate.o 470 LIB_OBJS += $(OUTPUT)ui/browsers/annotate.o
471 LIB_OBJS += $(OUTPUT)ui/browsers/hists.o 471 LIB_OBJS += $(OUTPUT)ui/browsers/hists.o
472 LIB_OBJS += $(OUTPUT)ui/browsers/map.o 472 LIB_OBJS += $(OUTPUT)ui/browsers/map.o
473 LIB_OBJS += $(OUTPUT)ui/browsers/scripts.o 473 LIB_OBJS += $(OUTPUT)ui/browsers/scripts.o
474 LIB_OBJS += $(OUTPUT)ui/tui/setup.o 474 LIB_OBJS += $(OUTPUT)ui/tui/setup.o
475 LIB_OBJS += $(OUTPUT)ui/tui/util.o 475 LIB_OBJS += $(OUTPUT)ui/tui/util.o
476 LIB_OBJS += $(OUTPUT)ui/tui/helpline.o 476 LIB_OBJS += $(OUTPUT)ui/tui/helpline.o
477 LIB_OBJS += $(OUTPUT)ui/tui/progress.o 477 LIB_OBJS += $(OUTPUT)ui/tui/progress.o
478 LIB_H += ui/browser.h 478 LIB_H += ui/browser.h
479 LIB_H += ui/browsers/map.h 479 LIB_H += ui/browsers/map.h
480 LIB_H += ui/keysyms.h 480 LIB_H += ui/keysyms.h
481 LIB_H += ui/libslang.h 481 LIB_H += ui/libslang.h
482endif 482endif
483 483
484ifndef NO_GTK2 484ifndef NO_GTK2
485 LIB_OBJS += $(OUTPUT)ui/gtk/browser.o 485 LIB_OBJS += $(OUTPUT)ui/gtk/browser.o
486 LIB_OBJS += $(OUTPUT)ui/gtk/hists.o 486 LIB_OBJS += $(OUTPUT)ui/gtk/hists.o
487 LIB_OBJS += $(OUTPUT)ui/gtk/setup.o 487 LIB_OBJS += $(OUTPUT)ui/gtk/setup.o
488 LIB_OBJS += $(OUTPUT)ui/gtk/util.o 488 LIB_OBJS += $(OUTPUT)ui/gtk/util.o
489 LIB_OBJS += $(OUTPUT)ui/gtk/helpline.o 489 LIB_OBJS += $(OUTPUT)ui/gtk/helpline.o
490 LIB_OBJS += $(OUTPUT)ui/gtk/progress.o 490 LIB_OBJS += $(OUTPUT)ui/gtk/progress.o
491 LIB_OBJS += $(OUTPUT)ui/gtk/annotate.o 491 LIB_OBJS += $(OUTPUT)ui/gtk/annotate.o
492endif 492endif
493 493
494ifndef NO_LIBPERL 494ifndef NO_LIBPERL
495 LIB_OBJS += $(OUTPUT)util/scripting-engines/trace-event-perl.o 495 LIB_OBJS += $(OUTPUT)util/scripting-engines/trace-event-perl.o
496 LIB_OBJS += $(OUTPUT)scripts/perl/Perf-Trace-Util/Context.o 496 LIB_OBJS += $(OUTPUT)scripts/perl/Perf-Trace-Util/Context.o
497endif 497endif
498 498
499ifndef NO_LIBPYTHON 499ifndef NO_LIBPYTHON
500 LIB_OBJS += $(OUTPUT)util/scripting-engines/trace-event-python.o 500 LIB_OBJS += $(OUTPUT)util/scripting-engines/trace-event-python.o
501 LIB_OBJS += $(OUTPUT)scripts/python/Perf-Trace-Util/Context.o 501 LIB_OBJS += $(OUTPUT)scripts/python/Perf-Trace-Util/Context.o
502endif 502endif
503 503
504ifeq ($(NO_PERF_REGS),0) 504ifeq ($(NO_PERF_REGS),0)
505 ifeq ($(ARCH),x86) 505 ifeq ($(ARCH),x86)
506 LIB_H += arch/x86/include/perf_regs.h 506 LIB_H += arch/x86/include/perf_regs.h
507 endif 507 endif
508endif 508endif
509 509
510ifndef NO_LIBNUMA 510ifndef NO_LIBNUMA
511 BUILTIN_OBJS += $(OUTPUT)bench/numa.o 511 BUILTIN_OBJS += $(OUTPUT)bench/numa.o
512endif 512endif
513 513
514ifdef ASCIIDOC8 514ifdef ASCIIDOC8
515 export ASCIIDOC8 515 export ASCIIDOC8
516endif 516endif
517 517
518LIBS = -Wl,--whole-archive $(PERFLIBS) -Wl,--no-whole-archive -Wl,--start-group $(EXTLIBS) -Wl,--end-group 518LIBS = -Wl,--whole-archive $(PERFLIBS) -Wl,--no-whole-archive -Wl,--start-group $(EXTLIBS) -Wl,--end-group