Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

tools lib traceevent: Teach [ce]tags about libtraceeevent error codes

As we use a macro trick to sync each error codes with its description
string, teach [ce]tags to process them properly.

This patch modifies the libtraceevent's Makefile not a kernel one.

Suggested-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Link: http://lkml.kernel.org/n/tip-3101nsbg52glxdqih291qj74@git.kernel.org
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Steven Rostedt <rostedt@goodmis.org>
Link: http://lkml.kernel.org/r/1340352615-20737-1-git-send-email-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>

authored by

Namhyung Kim and committed by
Arnaldo Carvalho de Melo
6545e3a8 f526a4ce

+4 -2
+4 -2
tools/lib/traceevent/Makefile
··· 270 270 271 271 tags: force 272 272 $(RM) tags 273 - find . -name '*.[ch]' | xargs ctags --extra=+f --c-kinds=+px 273 + find . -name '*.[ch]' | xargs ctags --extra=+f --c-kinds=+px \ 274 + --regex-c++='/_PE\(([^,)]*).*/PEVENT_ERRNO__\1/' 274 275 275 276 TAGS: force 276 277 $(RM) TAGS 277 - find . -name '*.[ch]' | xargs etags 278 + find . -name '*.[ch]' | xargs etags \ 279 + --regex='/_PE(\([^,)]*\).*/PEVENT_ERRNO__\1/' 278 280 279 281 define do_install 280 282 $(print_install) \