22 Jun 2012 10:10
[PATCH 1/2] tools lib traceevent: Teach [ce]tags about libtraceeevent error codes
Namhyung Kim <namhyung <at> kernel.org>
2012-06-22 08:10:14 GMT
2012-06-22 08:10:14 GMT
From: Namhyung Kim <namhyung.kim <at> lge.com> 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. Cc: Frederic Weisbecker <fweisbec <at> gmail.com> Suggested-by: Steven Rostedt <rostedt <at> goodmis.org> Link: http://lkml.kernel.org/n/tip-3101nsbg52glxdqih291qj74 <at> git.kernel.org Signed-off-by: Namhyung Kim <namhyung <at> kernel.org> --- tools/lib/traceevent/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tools/lib/traceevent/Makefile b/tools/lib/traceevent/Makefile index 56daa768b9e3..15f6eb8f4935 100644 --- a/tools/lib/traceevent/Makefile +++ b/tools/lib/traceevent/Makefile <at> <at> -284,11 +284,13 <at> <at> TRACEEVENT-CFLAGS: force tags: force $(RM) tags - find . -name '*.[ch]' | xargs ctags --extra=+f --c-kinds=+px + find . -name '*.[ch]' | xargs ctags --extra=+f --c-kinds=+px \ + --regex-c++='/_PE\(([^,)]*).*/PEVENT_ERRNO__\1/' TAGS: force $(RM) TAGS(Continue reading)
RSS Feed