This fixes lookups like "vi -t event_format"

Signed-off-by: Sebastian Andrzej Siewior <[email protected]>
---
 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
 
 ### Detect prefix changes
 TRACK_CFLAGS = $(subst ','\'',$(CFLAGS)):\
-- 
2.0.0.rc4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to