<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/scripts/tags.sh, branch v2.6.32</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=v2.6.32</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v2.6.32'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2009-09-20T10:27:43Z</updated>
<entry>
<title>ctags: usability fix</title>
<updated>2009-09-20T10:27:43Z</updated>
<author>
<name>Stefani Seibold</name>
<email>stefani@seibold.net</email>
</author>
<published>2009-09-18T19:49:24Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=7db86dc97fb0c47af63e6b965e8ff37126050d25'/>
<id>urn:sha1:7db86dc97fb0c47af63e6b965e8ff37126050d25</id>
<content type='text'>
The tag file generated by the tags.sh script has some issue.

First:
  The identifier-list miss the
  DEFINE_TRACE,EXPORT_TRACEPOINT_SYMBOL,EXPORT_TRACEPOINT_SYMBOL_GPL
  special handling, which can result in a wrong tag, not to jump to the
  right variable definition or function implementation.

Second:
  It makes no real sense to include function prototypes and external and
  forward variable declarations, because jumping to a tag will sometimes
  go to this and not to the real definition and implementation. The information
  about the declaration is still there at the definition and implementation
  place.

So this patch make it lot easier to navigate through the kernel source
tree using vi.

Signed-off-by: Stefani Seibold &lt;stefani@seibold.net&gt;
Acked-by: WANG Cong &lt;xiyou.wangcong@gmail.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</content>
</entry>
<entry>
<title>kbuild: remove a tag file before it is regenerated</title>
<updated>2009-05-01T08:54:02Z</updated>
<author>
<name>Matt Kraai</name>
<email>kraai@ftbfs.org</email>
</author>
<published>2009-04-22T03:38:23Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=2e6cb8b0dc602ba4aa23d1ec7e3524a7268f59d9'/>
<id>urn:sha1:2e6cb8b0dc602ba4aa23d1ec7e3524a7268f59d9</id>
<content type='text'>
If a tag file is not removed before it is regenerated, the newly
generated data is appended to the old, which preserves stale data and
makes the tag file grow over time.

Signed-off-by: Matt Kraai &lt;kraai@ftbfs.org&gt;
Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</content>
</entry>
<entry>
<title>kbuild: add sys_* entries for syscalls in tags</title>
<updated>2009-02-15T11:50:09Z</updated>
<author>
<name>Rabin Vincent</name>
<email>rabin@rab.in</email>
</author>
<published>2009-01-25T13:09:12Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=5123b327c107db9e560fd62d50c27a3816e5a078'/>
<id>urn:sha1:5123b327c107db9e560fd62d50c27a3816e5a078</id>
<content type='text'>
Currently, it is no longer possible to use the tags file to jump to
system call function definitions with sys_foo, because the definitions
are obscured by use of the SYSCALL_DEFINE* macros.

This patch adds the appropriate option to ctags to make it see through
the macro.  Also, it adds the ENTRY() work already done for Exuberant
to Emacs too.

Signed-off-by: Rabin Vincent &lt;rabin@rab.in&gt;
Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</content>
</entry>
<entry>
<title>kbuild: fix tags generation of config symbols</title>
<updated>2009-02-15T11:50:09Z</updated>
<author>
<name>Alexey Dobriyan</name>
<email>adobriyan@gmail.com</email>
</author>
<published>2009-02-11T21:24:09Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=953fae66d124486c9e284806429c52c5402f59ac'/>
<id>urn:sha1:953fae66d124486c9e284806429c52c5402f59ac</id>
<content type='text'>
commit 4f628248a578585472e19e4cba2c604643af8c6c aka "kbuild: reintroduce
ALLSOURCE_ARCHS support for tags/cscope" breaks tags generation for
Kconfig symbols.

Steps to reproduce:

	make tags
	vi -t PROC_FS

It should jump to 'config PROC_FS' line.

Signed-off-by: Alexey Dobriyan &lt;adobriyan@gmail.com&gt;
Tested-by: Pete Wyckoff &lt;pw@padd.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</content>
</entry>
<entry>
<title>kbuild: reintroduce ALLSOURCE_ARCHS support for tags/cscope</title>
<updated>2009-01-07T20:44:21Z</updated>
<author>
<name>Jike Song</name>
<email>albcamus@gmail.com</email>
</author>
<published>2009-01-05T06:57:03Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=4f628248a578585472e19e4cba2c604643af8c6c'/>
<id>urn:sha1:4f628248a578585472e19e4cba2c604643af8c6c</id>
<content type='text'>
This patch reintroduce the ALLSOURCE_ARCHS support for tags/TAGS/
cscope targets. The Kbuild previously has this feature, but after
moving the targets into scripts/tags.sh, ALLSOURCE_ARCHS disappears.

It's something like this:

	$ make ALLSOURCE_ARCHS="x86 mips arm" tags cscope

Signed-off-by: Jike Song &lt;albcamus@gmail.com&gt;
Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</content>
</entry>
<entry>
<title>kbuild: drop debugging leftover in tags.sh</title>
<updated>2009-01-02T19:43:26Z</updated>
<author>
<name>Sam Ravnborg</name>
<email>sam@ravnborg.org</email>
</author>
<published>2008-12-30T09:20:08Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=521b0c774d1350aac18f5cd35831469a4e879d72'/>
<id>urn:sha1:521b0c774d1350aac18f5cd35831469a4e879d72</id>
<content type='text'>
Noticed by Jike.

Reported-by: "Jike Song" &lt;albcamus@gmail.com&gt;
Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</content>
</entry>
<entry>
<title>kbuild: fix string equality testing in tags.sh</title>
<updated>2008-12-13T23:15:09Z</updated>
<author>
<name>Jiri Slaby</name>
<email>jirislaby@gmail.com</email>
</author>
<published>2008-12-10T12:48:38Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=a6ba0cb35da64d658b7a01ea4597416f8522d5e1'/>
<id>urn:sha1:a6ba0cb35da64d658b7a01ea4597416f8522d5e1</id>
<content type='text'>
Test of string equality in shells is =, not C-like ==.

Signed-off-by: Jiri Slaby &lt;jirislaby@gmail.com&gt;
Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</content>
</entry>
<entry>
<title>kbuild: fix make tags/cscope</title>
<updated>2008-12-13T23:15:09Z</updated>
<author>
<name>Jiri Slaby</name>
<email>jirislaby@gmail.com</email>
</author>
<published>2008-12-10T12:10:13Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=709cc372cad628846d73447edfd95ac39c8e2319'/>
<id>urn:sha1:709cc372cad628846d73447edfd95ac39c8e2319</id>
<content type='text'>
- fix combining O=... and tags
- don't allow * expansion during sh function calls

Signed-off-by: Jiri Slaby &lt;jirislaby@gmail.com&gt;
[sam: use KBUILD_SRC to check if we use O=...]
Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</content>
</entry>
<entry>
<title>tags and cscope support really belongs in a shell script</title>
<updated>2008-12-03T21:24:13Z</updated>
<author>
<name>Sam Ravnborg</name>
<email>sam@ravnborg.org</email>
</author>
<published>2008-12-03T21:24:13Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=a680eedc6c621c75695c68198533fc3c98f4053b'/>
<id>urn:sha1:a680eedc6c621c75695c68198533fc3c98f4053b</id>
<content type='text'>
as they do not benefit from the make functionality.

Moving the support to a shell script has several benefits:
- The readability of the code has increased a lot
- More people is able to extend the tags support
- We see less changes to the top-level Makefile

The shell script version includes improvements from:
Alexey Dobriyan &lt;adobriyan@gmail.com&gt; (jump to kconfig symbols)
Alexey Dobriyan &lt;adobriyan@gmail.com&gt; (drop ./ in paths)
Ian Campbell &lt;ijc@hellion.org.uk&gt; (simplified find algorithms)

This version has a few caveats:
=&gt; It does not support ALLSOURCE_ARCHS
   - it is easy to add if it is really used
=&gt; It assumes all archs have moved to arch/$ARCH/include
   - until that happens we have a few additional hits in the archs

Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
Cc: Alexey Dobriyan &lt;adobriyan@gmail.com&gt;
Tested-by: Ian Campbell &lt;ijc@hellion.org.uk&gt;
</content>
</entry>
</feed>
