lkml.org 
[lkml]   [2014]   [Jun]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] perf tools: Prettify the tags/TAGS/cscope targets output
On 6/4/14, 8:54 AM, Jiri Olsa wrote:
> 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 <acme@kernel.org>
> Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
> Cc: David Ahern <dsahern@gmail.com>
> Cc: Frederic Weisbecker <fweisbec@gmail.com>
> Cc: Ingo Molnar <mingo@kernel.org>
> Cc: Jean Pihet <jean.pihet@linaro.org>
> Cc: Namhyung Kim <namhyung@kernel.org>
> Cc: Paul Mackerras <paulus@samba.org>
> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
> Signed-off-by: Jiri Olsa <jolsa@kernel.org>
> ---
> tools/perf/Makefile.perf | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/tools/perf/Makefile.perf b/tools/perf/Makefile.perf
> index 5c17739..90b3aa7 100644
> --- a/tools/perf/Makefile.perf
> +++ b/tools/perf/Makefile.perf
> @@ -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
>

Reviewed-by: David Ahern <dsahern@gmail.com>


\
 
 \ /
  Last update: 2014-06-04 18:41    [W:0.041 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site