-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge tag 'perf-core-for-mingo-2.1' of git://git.kernel.org/pub/scm/l…
…inux/kernel/git/acme/linux into perf/core Pull perf/core improvements from Arnaldo Carvalho de Melo: User visible changes: - Add record.build-id config option to 'perf record', to allow configuring in the ~/.perfconfig file if and how build-ids should be processed, allowing a permanent setting for options such as -B and -N: (Namhyung Kim) $ perf record -h -B -N Usage: perf record [<options>] [<command>] or: perf record [<options>] -- <command> [<options>] -B, --no-buildid do not collect buildids in perf.data -N, --no-buildid-cache do not update the buildid cache $ Infrastructure changes: - Move code for options parsing and subcommand handling from tools/perf/ to tools/lib/subcmd/, so that it can be used by other tools/ living utilities (Josh Poimboeuf) Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> Signed-off-by: Ingo Molnar <mingo@kernel.org>
- Loading branch information
Showing
85 changed files
with
1,103 additions
and
582 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
libsubcmd-y += exec-cmd.o | ||
libsubcmd-y += help.o | ||
libsubcmd-y += pager.o | ||
libsubcmd-y += parse-options.o | ||
libsubcmd-y += run-command.o | ||
libsubcmd-y += sigchain.o | ||
libsubcmd-y += subcmd-config.o |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
include ../../scripts/Makefile.include | ||
include ../../perf/config/utilities.mak # QUIET_CLEAN | ||
|
||
ifeq ($(srctree),) | ||
srctree := $(patsubst %/,%,$(dir $(shell pwd))) | ||
srctree := $(patsubst %/,%,$(dir $(srctree))) | ||
srctree := $(patsubst %/,%,$(dir $(srctree))) | ||
#$(info Determined 'srctree' to be $(srctree)) | ||
endif | ||
|
||
CC = $(CROSS_COMPILE)gcc | ||
AR = $(CROSS_COMPILE)ar | ||
RM = rm -f | ||
|
||
MAKEFLAGS += --no-print-directory | ||
|
||
LIBFILE = $(OUTPUT)libsubcmd.a | ||
|
||
CFLAGS := $(EXTRA_WARNINGS) $(EXTRA_CFLAGS) | ||
CFLAGS += -ggdb3 -Wall -Wextra -std=gnu99 -Werror -O6 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fPIC | ||
CFLAGS += -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE | ||
|
||
CFLAGS += -I$(srctree)/tools/include/ | ||
CFLAGS += -I$(srctree)/include/uapi | ||
CFLAGS += -I$(srctree)/include | ||
|
||
SUBCMD_IN := $(OUTPUT)libsubcmd-in.o | ||
|
||
all: | ||
|
||
export srctree OUTPUT CC LD CFLAGS V | ||
include $(srctree)/tools/build/Makefile.include | ||
|
||
all: fixdep $(LIBFILE) | ||
|
||
$(SUBCMD_IN): FORCE | ||
@$(MAKE) $(build)=libsubcmd | ||
|
||
$(LIBFILE): $(SUBCMD_IN) | ||
$(QUIET_AR)$(RM) $@ && $(AR) rcs $@ $(SUBCMD_IN) | ||
|
||
clean: | ||
$(call QUIET_CLEAN, libsubcmd) $(RM) $(LIBFILE); \ | ||
find $(if $(OUTPUT),$(OUTPUT),.) -name \*.o -or -name \*.o.cmd -or -name \*.o.d | xargs $(RM) | ||
|
||
FORCE: | ||
|
||
.PHONY: clean FORCE |
Oops, something went wrong.