[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

[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: &

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: &

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

2018-10-30 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-30 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 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

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

[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

[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/notifie

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/notifie

[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

[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: Frederic Weisbecker Cc

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

2013-07-23 Thread tip-bot for Jiri Olsa
15:35:03 -0300 perf tests: Run 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 jo...@redhat.com Cc: Borislav Petkov b...@alien8.de 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 Cc: Namhyung Kim Cc: Paul

[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: Peter Zijlstra Cc: Arnaldo

[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 jo...@redhat.com Cc: Corey Ashford cjash...@linux.vnet.ibm.com Cc: Frederic Weisbecker fweis...@gmail.com Cc: Ingo Molnar mi...@elte.hu

[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 jo...@redhat.com 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 jo...@redhat.com Cc: Borislav Petkov b...@alien8.de Cc: Corey Ashford cjash...@linux.vnet.ibm.com Cc

[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

[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 tk...@yandex.ru 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 has th

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

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 file with that name.) I

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 has the --extra=+f support

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 &

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 --extra=+f

RE: Makefile patch for cscope and saner Ctags

2001-06-01 Thread Khachaturov, Vassilii
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/31 15:00]: >

RE: Makefile patch for cscope and saner Ctags

2001-06-01 Thread Khachaturov, Vassilii
[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/31 15:00]: Don't forget to bug RH package maintainer on that. Whatever

Re: Makefile patch for cscope and saner Ctags

2001-05-31 Thread Mark Frazer
.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_SYMBOL,EXPORT_SYMBOL_NO

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 >

Re: Makefile patch for cscope and saner Ctags

2001-05-31 Thread Mark Frazer
o 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 > your original com

Re: Makefile patch for cscope and saner Ctags

2001-05-31 Thread Mark Frazer
aned 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 +++ MakefileThu May 31 14:02:30 2001 @@ -334,11 +334,41 @@ #

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 bette

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

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

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 better with -I tags: dummy

Re: Makefile patch for cscope and saner Ctags

2001-05-31 Thread Mark Frazer
on rmproper or such. Vassilii Backout the old patch and try this one. --- Makefile.oldMon May 28 22:44:01 2001 +++ MakefileThu May 31 14:02:30 2001 @@ -334,11 +334,41 @@ # Exuberant ctags works better with -I tags: dummy - CTAGSF=`ctags --version | grep -i exuberant /dev/null

Re: Makefile patch for cscope and saner Ctags

2001-05-31 Thread Mark Frazer
Pete Wyckoff [EMAIL PROTECTED] [01/05/31 13:56]: You seem not to have read my response to your earlier mail proprosing such a thing (for tags only, not cscope): http://boudicca.tux.org/hypermail/linux-kernel/2001week21/1869.html I did. I didn't want to sign up to maintain the ctags

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: unknown

Re: Makefile patch for cscope and saner Ctags

2001-05-31 Thread Mark Frazer
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_SYMBOL,EXPORT_SYMBOL_NOVERS`; \ + CTAGSF=`ctags --version

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 --version

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 --version

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 me some sanity

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 me some sanity

RE: ctags

2001-05-17 Thread Khachaturov, Vassilii
hing 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 > > > > find -nam

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-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

RE: ctags

2001-05-17 Thread Khachaturov, Vassilii
... 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 find -name '*.[ch]' | ctag -L- echo set tags-tags.vimrc

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

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