Skip to contentSkip to conversation

perf tools: Prettify the tags/TAGS/cscope targets output

PATCH In review Jiri Olsa 3 participants 3 messages Jun 4, 2014 – Jun 12, 2014 perf events

lore
Share & tools
lore

Jiri Olsa

author reviewer
#0 lore raw

PATCH 1/1 perf tools: Prettify the tags/TAGS/cscope targets output

Add tags/TAGS/cscope targets to the quiet family.

  $ make tags cscope
  BUILD:   Doing 'make -j4' parallel build
  GEN      tags
  $ make cscope
  BUILD:   Doing 'make -j4' parallel build
  GEN      cscope
Cc Arnaldo Carvalho de Melo <[email protected]>
Cc Corey Ashford <[email protected]>
Cc David Ahern <[email protected]>
Cc Frederic Weisbecker <[email protected]>
Cc Ingo Molnar <[email protected]>
Cc Jean Pihet <[email protected]>
Cc Namhyung Kim <[email protected]>
Cc Paul Mackerras <[email protected]>
Cc Peter Zijlstra <[email protected]>
---
 tools/perf/Makefile.perf | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
tools/perf/Makefile.perf +3 -3
index 5c17739..90b3aa7 100644
@@ -820,15 +820,15 @@ TAG_FOLDERS= . ../lib/traceevent ../lib/api ../lib/symbol
 TAG_FILES= ../../include/uapi/linux/perf_event.h
 
 TAGS:
-	$(RM) TAGS
+	$(QUIET_GEN)$(RM) TAGS; \
 	$(FIND) $(TAG_FOLDERS) -name '*.[hcS]' -print | xargs etags -a $(TAG_FILES)
 
 tags:
-	$(RM) tags
+	$(QUIET_GEN)$(RM) tags; \
 	$(FIND) $(TAG_FOLDERS) -name '*.[hcS]' -print | xargs ctags -a $(TAG_FILES)
 
 cscope:
-	$(RM) cscope*
+	$(QUIET_GEN)$(RM) cscope*; \
 	$(FIND) $(TAG_FOLDERS) -name '*.[hcS]' -print | xargs cscope -b $(TAG_FILES)
 
 ### Detect prefix changes
Signature · 1 line
1.8.3.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 38 lines · Jiri Olsa

Add tags/TAGS/cscope targets to the quiet family.

   $ make tags cscope
   BUILD:   Doing 'make -j4' parallel build
   GEN      tags
   $ make cscope
   BUILD:   Doing 'make -j4' parallel build
   GEN      cscope
Cc Arnaldo Carvalho de Melo <[email protected]>
Cc Corey Ashford <[email protected]>
Cc David Ahern <[email protected]>
Cc Frederic Weisbecker <[email protected]>
Cc Ingo Molnar <[email protected]>
Cc Jean Pihet <[email protected]>
Cc Namhyung Kim <[email protected]>
Cc Paul Mackerras <[email protected]>
Cc Peter Zijlstra <[email protected]>
---
  tools/perf/Makefile.perf | 6 +++---
  1 file changed, 3 insertions(+), 3 deletions(-)
tools/perf/Makefile.perf +1 -1
index 5c17739..90b3aa7 100644
@@ -820,15 +820,15 @@ TAG_FOLDERS= . ../lib/traceevent ../lib/api ../lib/symbol
  TAG_FILES= ../../include/uapi/linux/perf_event.h
 
  TAGS:
-	$(RM) TAGS
+	$(QUIET_GEN)$(RM) TAGS; \
  	$(FIND) $(TAG_FOLDERS) -name '*.[hcS]' -print | xargs etags -a $(TAG_FILES)
 
  tags:

tools/perf/Makefile.perf TAG_FOLDERS= . ../lib/traceevent ../lib/api ../lib/symbol · line 834

Quoted 10 lines
tools/perf/Makefile.perf +2 -2
-	$(RM) tags
+	$(QUIET_GEN)$(RM) tags; \
  	$(FIND) $(TAG_FOLDERS) -name '*.[hcS]' -print | xargs ctags -a $(TAG_FILES)
 
  cscope:
-	$(RM) cscope*
+	$(QUIET_GEN)$(RM) cscope*; \
  	$(FIND) $(TAG_FOLDERS) -name '*.[hcS]' -print | xargs cscope -b $(TAG_FILES)
 
  ### Detect prefix changes
#2 lore raw

[tip:perf/core] perf tools: Prettify the tags/TAGS/ cscope targets output

In reply to Jiri Olsa
perf tools: Prettify the tags/TAGS/cscope targets output
Commit-ID:  b0815d07ec12959da2104822561e0df26dc4bf3d
Gitweb:     http://git.kernel.org/tip/b0815d07ec12959da2104822561e0df26dc4bf3d
Author:     Jiri Olsa <[email protected]>
AuthorDate: Wed, 4 Jun 2014 14:43:58 +0200
Committer:  Jiri Olsa <[email protected]>
CommitDate: Mon, 9 Jun 2014 12:21:02 +0200

perf tools: Prettify the tags/TAGS/cscope targets output

Add tags/TAGS/cscope targets to the quiet family.

  $ make tags cscope
  BUILD:   Doing 'make -j4' parallel build
  GEN      tags
  $ make cscope
  BUILD:   Doing 'make -j4' parallel build
  GEN      cscope
Cc Arnaldo Carvalho de Melo <[email protected]>
Cc Corey Ashford <[email protected]>
Cc David Ahern <[email protected]>
Cc Frederic Weisbecker <[email protected]>
Cc Ingo Molnar <[email protected]>
Cc Jean Pihet <[email protected]>
Cc Namhyung Kim <[email protected]>
Cc Paul Mackerras <[email protected]>
Cc Peter Zijlstra <[email protected]>
---
 tools/perf/Makefile.perf | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
tools/perf/Makefile.perf +3 -3
index ae20edf..9670a16 100644
@@ -819,15 +819,15 @@ TAG_FOLDERS= . ../lib/traceevent ../lib/api ../lib/symbol
 TAG_FILES= ../../include/uapi/linux/perf_event.h
 
 TAGS:
-	$(RM) TAGS
+	$(QUIET_GEN)$(RM) TAGS; \
 	$(FIND) $(TAG_FOLDERS) -name '*.[hcS]' -print | xargs etags -a $(TAG_FILES)
 
 tags:
-	$(RM) tags
+	$(QUIET_GEN)$(RM) tags; \
 	$(FIND) $(TAG_FOLDERS) -name '*.[hcS]' -print | xargs ctags -a $(TAG_FILES)
 
 cscope:
-	$(RM) cscope*
+	$(QUIET_GEN)$(RM) cscope*; \
 	$(FIND) $(TAG_FOLDERS) -name '*.[hcS]' -print | xargs cscope -b $(TAG_FILES)
 
 ### Detect prefix changes