[PATCH v2] kernel/SRCU: Fix ctags

2018-10-30 Thread Sam Protsenko
ctags indexing ("make tags" command) throws this warning: ctags: Warning: include/linux/notifier.h:125: null expansion of name pattern "\1" This is the result of DEFINE_PER_CPU() macro expansion. Fix that by getting rid of line break. Similar fix was already done in

Re: [PATCH v2] kernel/SRCU: Fix ctags

2018-10-30 Thread Sam Protsenko
On Mon, Oct 29, 2018 at 10:11 PM, Andy Shevchenko wrote: > On Mon, Oct 29, 2018 at 10:09 PM Sam Protsenko > wrote: >> >> ctags indexing ("make tags" command) throws this warning: >> >> ctags: Warning: include/linux/notifier.h:125: >> null ex

Re: [PATCH v2] kernel/SRCU: Fix ctags

2018-10-29 Thread Greg KH
On Mon, Oct 29, 2018 at 10:11:36PM +0200, Sam Protsenko wrote: > Hi Greg, > > On Mon, Oct 29, 2018 at 10:09 PM, Sam Protsenko > wrote: > > ctags indexing ("make tags" command) throws this warning: > > > > ctags: Warning: include/linux/notifier.h:125

Re: [PATCH v2] kernel/SRCU: Fix ctags

2018-10-29 Thread Andy Shevchenko
On Mon, Oct 29, 2018 at 10:09 PM Sam Protsenko wrote: > > ctags indexing ("make tags" command) throws this warning: > > ctags: Warning: include/linux/notifier.h:125: > null expansion of name pattern "\1" > > This is the result of DEFINE_PER_CPU(

Re: [PATCH v2] kernel/SRCU: Fix ctags

2018-10-29 Thread Sam Protsenko
Hi Greg, On Mon, Oct 29, 2018 at 10:09 PM, Sam Protsenko wrote: > ctags indexing ("make tags" command) throws this warning: > > ctags: Warning: include/linux/notifier.h:125: > null expansion of name pattern "\1" > > This is the result of DEFINE_P

[PATCH v2] kernel/SRCU: Fix ctags

2018-10-29 Thread Sam Protsenko
ctags indexing ("make tags" command) throws this warning: ctags: Warning: include/linux/notifier.h:125: null expansion of name pattern "\1" This is the result of DEFINE_PER_CPU() macro exapansion. Fix that by getting rid of line break. Similar fix was already done in

Re: [PATCH] kernel/SRCU: Fix ctags

2018-09-11 Thread Sam Protsenko
Hi guys, It's been a while since I sent this one. Can we please merge it if there is no objections? Thanks. On Tue, Aug 28, 2018 at 6:44 PM, Sam Protsenko wrote: > ctags indexing ("make tags" command) throws this warning: > > ctags: Warning: include/linux/no

[PATCH] kernel/SRCU: Fix ctags

2018-08-28 Thread Sam Protsenko
ctags indexing ("make tags" command) throws this warning: ctags: Warning: include/linux/notifier.h:125: null expansion of name pattern "\1" This is the result of DEFINE_PER_CPU() macro exapansion. Fix that by getting rid of line break. Similar fix was already done in

[tip:perf/core] perf tests: Run ctags/ cscope make tests only with needed binaries

2013-07-23 Thread tip-bot for Jiri Olsa
ctags/cscope make tests only with needed binaries Running tags and cscope make tests only if the 'ctags' and 'cscope' binaries are installed, so we don't have false alarm test failures. Signed-off-by: Jiri Olsa Cc: Borislav Petkov Cc: Corey Ashford Cc: David Ahern Cc

[PATCH 06/11] perf tests: Run ctags/cscope make tests only with needed binaries

2013-07-22 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Running tags and cscope make tests only if the 'ctags' and 'cscope' binaries are installed, so we don't have false alarm test failures. Signed-off-by: Jiri Olsa Cc: Borislav Petkov Cc: Corey Ashford Cc: David Ahern Cc: Frederic Weisbecker C

[PATCH 1/5] perf tests: Run ctags/cscope make tests only with needed binaries

2013-07-22 Thread Jiri Olsa
Running tags and cscope make tests only if the 'ctags' and 'cscope' binaries are installed, so we don't have false alarm test failures. Signed-off-by: Jiri Olsa Cc: Corey Ashford Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Namhyung Kim Cc: Paul Mackerras Cc: Pe

[PATCH v3]scripts/tags.sh: Add ctags magic for declarations of popular kernel type

2013-01-25 Thread Kirill Tkhai
1)Add magic for declarations of variables of popular kernel type like spinlock_t, list_head, wait_queue_head_t and other. 2)Add a set of specially handled declaration extentions like __attribute, __aligned and other. 3)Simplify pci_bus_* magic Signed-off-by: Kirill V Tkhai Cc: Michal Marek CC:

Re: Exuberant ctags can tag files names too

2005-03-14 Thread Andreas Dilger
On Mar 14, 2005 21:09 +0100, Sam Ravnborg wrote: > I already applied your original patch (end of January) but only this week > it hit Linus' tree. > I think ctags users will just upgrade if their ctgs does not support > --extra=+f. I have ctags-5.4.2 (24 Jan 2003) and it h

Re: Exuberant ctags can tag files names too

2005-03-14 Thread Sam Ravnborg
On Wed, Mar 09, 2005 at 09:01:08PM -0500, John Kacur wrote: > Exuberant ctags can tag file names too. I find this extremely useful > when browsing kernel source, and so would like to share it with > everyone. (You can now type ":tag oprof.c" for example, and jump to the &g

Exuberant ctags can tag files names too

2005-03-09 Thread John Kacur
Exuberant ctags can tag file names too. I find this extremely useful when browsing kernel source, and so would like to share it with everyone. (You can now type ":tag oprof.c" for example, and jump to the file with that name.) I previously sent a patch which naively just appended an &

RE: Makefile patch for cscope and saner Ctags

2001-06-01 Thread Khachaturov, Vassilii
iginal Message- > From: Mark Frazer [mailto:[EMAIL PROTECTED]] > Sent: Thursday, May 31, 2001 4:45 PM > To: Khachaturov, Vassilii > Cc: Linux Kernel > Subject: Re: Makefile patch for cscope and saner Ctags > > > Khachaturov, Vassilii <[EMAIL PROTECTED]> > [01/05

Re: Makefile patch for cscope and saner Ctags

2001-05-31 Thread Mark Frazer
.out. --- Makefile.oldMon May 28 22:44:01 2001 +++ MakefileThu May 31 16:29:38 2001 @@ -334,10 +334,41 @@ # Exuberant ctags works better with -I tags: dummy - CTAGSF=`ctags --version | grep -i exuberant >/dev/null && echo "-I __initdata,__exitdata,EXPORT_SYM

RE: Makefile patch for cscope and saner Ctags

2001-05-31 Thread Khachaturov, Vassilii
> From: Mark Frazer [mailto:[EMAIL PROTECTED]] > Khachaturov, Vassilii <[EMAIL PROTECTED]> > > Great stuff. May I suggest adding -k to the cscope cmdline: > > + cscope -b -k -I include > > The cscope on my RH7.0 box didn't take -k! > [root@mjftest linux-2.4.5]# cscope -b -k -I include > cscope

Re: Makefile patch for cscope and saner Ctags

2001-05-31 Thread Mark Frazer
to sign up to maintain the ctags-ignore file though. > > How does the patch above fix anything? You're sorting so that > include/linux/*.h comes before include/linux/{mtd,lockd,raid,...}/*.h, > but I don't see how that can be an improvement, or how it addresses > yo

Re: Makefile patch for cscope and saner Ctags

2001-05-31 Thread Mark Frazer
ean up. I think cscope.out should be cleaned up > in the clean target, while the cscope.files should probably should only be > cleaned on rmproper or such. > > Vassilii Backout the old patch and try this one. --- Makefile.oldMon May 28 22:44:01 2001 +++ Makefile Thu May 31 1

Re: Makefile patch for cscope and saner Ctags

2001-05-31 Thread Pete Wyckoff
[EMAIL PROTECTED] said: > The following patch generates saner Ctags and will build cscope > output. It's against 2.4.5 > > --- Makefile.old Mon May 28 22:44:01 2001 > +++ Makefile Wed May 30 17:50:01 2001 > @@ -334,11 +334,32 @@ > > # Exuberant ctags works

RE: Makefile patch for cscope and saner Ctags

2001-05-31 Thread Khachaturov, Vassilii
Great stuff. May I suggest adding -k to the cscope cmdline: > + cscope -b -I include should become + cscope -b -k -I include Also, I think you should separate cscope.files creation into a different rule, and make the cscope target depend on it and on the files in it. (Like the stuff

Makefile patch for cscope and saner Ctags

2001-05-30 Thread Mark Frazer
The following patch generates saner Ctags and will build cscope output. It's against 2.4.5 --- Makefile.oldMon May 28 22:44:01 2001 +++ MakefileWed May 30 17:50:01 2001 @@ -334,11 +334,32 @@ # Exuberant ctags works better with -I tags: dummy - CTAGSF=`ctags --ve

Re: ctags as generated by make tags

2001-05-29 Thread Pete Wyckoff
[EMAIL PROTECTED] said: > Anyone have any good tips on getting tags to generate nicely? > > I'm having some problems with some tags for macros and such being > declared in several places since ctags doesn't honour any CPP #if'ing. > I've currently got my Makef

ctags as generated by make tags

2001-05-28 Thread Mark Frazer
Anyone have any good tips on getting tags to generate nicely? I'm having some problems with some tags for macros and such being declared in several places since ctags doesn't honour any CPP #if'ing. I've currently got my Makefile doing this, which seems to give m

RE: ctags

2001-05-17 Thread Khachaturov, Vassilii
thing is about... Or, for a quick start, just do :cs See also cscope on sourceforge. HTH, Vassilii > -Original Message- > From: Blesson Paul [mailto:[EMAIL PROTECTED]] > Sent: Thursday, May 17, 2001 4:10 AM > To: [EMAIL PROTECTED] > Subject: ctags > > >

ctags

2001-05-17 Thread Blesson Paul
find -name '*.[ch]' | ctag -L- & echo "set tags-tags">>.vimrc Hi Thanks for the reply. To get the definition of the functions above is enough. Now if there are more than one definition of the same function how to get all the definitions by

ctags

2001-02-09 Thread John Levon
On the system here, ctags is called ctags-exuberant. Against 2.4.1ac8 thanks john --- Makefile.oldFri Feb 9 14:24:29 2001 +++ MakefileFri Feb 9 14:06:08 2001 @@ -33,6 +33,7 @@ STRIP = $(CROSS_COMPILE)strip OBJCOPY= $(CROSS_COMPILE)objcopy OBJDUMP