From: Jiri Olsa <jolsa@redhat.com>
To: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Cc: linux-kernel@vger.kernel.org,
Arnaldo Carvalho de Melo <acme@kernel.org>,
Jiri Olsa <jolsa@kernel.org>
Subject: Re: [PATCH] perf tools: consider header files outside perf directory in tags target
Date: Tue, 27 May 2014 18:33:25 +0200 [thread overview]
Message-ID: <20140527163325.GA26128@krava.brq.redhat.com> (raw)
In-Reply-To: <1401207822-8695-1-git-send-email-bigeasy@linutronix.de>
On Tue, May 27, 2014 at 06:23:42PM +0200, Sebastian Andrzej Siewior wrote:
> This fixes lookups like "vi -t event_format"
>
> Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
> ---
> 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 895edd3..8148992 100644
> --- a/tools/perf/Makefile.perf
> +++ b/tools/perf/Makefile.perf
> @@ -812,15 +812,15 @@ INSTALL_DOC_TARGETS += quick-install-doc quick-install-man quick-install-html
>
> TAGS:
> $(RM) TAGS
> - $(FIND) . -name '*.[hcS]' -print | xargs etags -a
> + $(FIND) . ../lib/traceevent -name '*.[hcS]' -print | xargs etags -a ../../include/uapi/linux/perf_event.h
>
> tags:
> $(RM) tags
> - $(FIND) . -name '*.[hcS]' -print | xargs ctags -a
> + $(FIND) . ../lib/traceevent -name '*.[hcS]' -print | xargs ctags -a ../../include/uapi/linux/perf_event.h
>
> cscope:
> $(RM) cscope*
> - $(FIND) . -name '*.[hcS]' -print | xargs cscope -b
> + $(FIND) . ../lib/traceevent -name '*.[hcS]' -print | xargs cscope -b ../../include/uapi/linux/perf_event.h
while you are at it, could you please also include:
../lib/api/
../lib/symbol/
also given that same paths are used on multiple places,
please put them into variable
thanks,
jirka
next prev parent reply other threads:[~2014-05-27 16:33 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-27 16:23 Sebastian Andrzej Siewior
2014-05-27 16:33 ` Jiri Olsa [this message]
2014-05-28 8:19 ` [PATCH v2] " Sebastian Andrzej Siewior
2014-06-05 14:31 ` [tip:perf/core] perf tools: Consider " tip-bot for Sebastian Andrzej Siewior
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140527163325.GA26128@krava.brq.redhat.com \
--to=jolsa@redhat.com \
--cc=acme@kernel.org \
--cc=bigeasy@linutronix.de \
--cc=jolsa@kernel.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome