diff options
| author | Ingo Molnar <mingo@kernel.org> | 2012-07-06 04:17:40 -0400 |
|---|---|---|
| committer | Ingo Molnar <mingo@kernel.org> | 2012-07-06 04:22:46 -0400 |
| commit | 387ef4e24af4ae43a7961ba6eec749488da99535 (patch) | |
| tree | bdd6995a544bce7401562afbd70ffd27e2b5a083 /tools/lib/traceevent/Makefile | |
| parent | 6a67943a18c264d5f3df436da38edb3e59adc905 (diff) | |
| parent | 81e9b994bb20716d1f6c47e048e4ae4a43de2f83 (diff) | |
Merge tag 'perf-core-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core
perf/core improvements and fixes:
- Preparatory patches to use hw events in PMU syntax, from Jiri Olsa
- Remaining backport of trace-cmd's libparseevent, from Namhyung Kim
- Fix libtraceevent 'clean' make target, from Namhyung Kim
- Teach ctags about libtraceevent error codes, from Namhyung Kim
- Fix libtraceevent dependency files usage, from Namhyung Kim
- Support hex number pretty printing in libtraceevent, fixing
kvm output, from Namhyung Kim
- Kill some die() usage in libtraceevent, from Namhyung Kim
- Improve support for hw breakpoints parsing/pretty printing/testing,
from Jiri Olsa
- Clarify perf bench option naming, from Hitoshi Mitake
- Look for ".note" ELF notes too, used in the kernel vdso, from Jiri Olsa
- Fix internal PMU list usage, removing leak, from Robert Richter
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'tools/lib/traceevent/Makefile')
| -rw-r--r-- | tools/lib/traceevent/Makefile | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/tools/lib/traceevent/Makefile b/tools/lib/traceevent/Makefile index 3d69aa9ff51..46c2f6b7b12 100644 --- a/tools/lib/traceevent/Makefile +++ b/tools/lib/traceevent/Makefile | |||
| @@ -250,8 +250,12 @@ endef | |||
| 250 | all_objs := $(sort $(ALL_OBJS)) | 250 | all_objs := $(sort $(ALL_OBJS)) |
| 251 | all_deps := $(all_objs:%.o=.%.d) | 251 | all_deps := $(all_objs:%.o=.%.d) |
| 252 | 252 | ||
| 253 | # let .d file also depends on the source and header files | ||
| 253 | define check_deps | 254 | define check_deps |
| 254 | $(CC) -M $(CFLAGS) $< > $@; | 255 | @set -e; $(RM) $@; \ |
| 256 | $(CC) -M $(CFLAGS) $< > $@.$$$$; \ | ||
| 257 | sed 's,\($*\)\.o[ :]*,\1.o $@ : ,g' < $@.$$$$ > $@; \ | ||
| 258 | $(RM) $@.$$$$ | ||
| 255 | endef | 259 | endef |
| 256 | 260 | ||
| 257 | $(gui_deps): ks_version.h | 261 | $(gui_deps): ks_version.h |
| @@ -270,11 +274,13 @@ endif | |||
| 270 | 274 | ||
| 271 | tags: force | 275 | tags: force |
| 272 | $(RM) tags | 276 | $(RM) tags |
| 273 | find . -name '*.[ch]' | xargs ctags --extra=+f --c-kinds=+px | 277 | find . -name '*.[ch]' | xargs ctags --extra=+f --c-kinds=+px \ |
| 278 | --regex-c++='/_PE\(([^,)]*).*/PEVENT_ERRNO__\1/' | ||
| 274 | 279 | ||
| 275 | TAGS: force | 280 | TAGS: force |
| 276 | $(RM) TAGS | 281 | $(RM) TAGS |
| 277 | find . -name '*.[ch]' | xargs etags | 282 | find . -name '*.[ch]' | xargs etags \ |
| 283 | --regex='/_PE(\([^,)]*\).*/PEVENT_ERRNO__\1/' | ||
| 278 | 284 | ||
| 279 | define do_install | 285 | define do_install |
| 280 | $(print_install) \ | 286 | $(print_install) \ |
| @@ -290,7 +296,7 @@ install_lib: all_cmd install_plugins install_python | |||
| 290 | install: install_lib | 296 | install: install_lib |
| 291 | 297 | ||
| 292 | clean: | 298 | clean: |
| 293 | $(RM) *.o *~ $(TARGETS) *.a *.so $(VERSION_FILES).*.d | 299 | $(RM) *.o *~ $(TARGETS) *.a *.so $(VERSION_FILES) .*.d |
| 294 | $(RM) tags TAGS | 300 | $(RM) tags TAGS |
| 295 | 301 | ||
| 296 | endif # skip-makefile | 302 | endif # skip-makefile |
