<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/scripts/tags.sh, branch v2.6.36</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.36</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v2.6.36'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2010-03-08T09:26:22Z</updated>
<entry>
<title>Revert "kbuild: specify absolute paths for cscope"</title>
<updated>2010-03-08T09:26:22Z</updated>
<author>
<name>Michal Marek</name>
<email>mmarek@suse.cz</email>
</author>
<published>2010-03-08T09:26:22Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=e93bc1a0cab3e54e3c1947e01c8e73892e35630d'/>
<id>urn:sha1:e93bc1a0cab3e54e3c1947e01c8e73892e35630d</id>
<content type='text'>
This reverts commit eb8f844c0a41c4529a7d06b7801296eca9ae67aa. Ian
Campbell writes:
&gt; I keep my kernel source tree on a more powerful build box where I run my
&gt; builds etc (including "make cscope") but run my editor from my
&gt; workstation with an NFS mount to the source. This worked fine for me
&gt; using relative paths for cscope. Using absolute paths in cscope breaks
&gt; this previously working setup because the root path is not the same on
&gt; both systems. I guess this is similar to moving the source tree around.
&gt;
&gt; Without wanting to start a flamewar it really sounds to me like we are
&gt; working around a vim (or cscope) bug here, emacs with cscope bindings
&gt; works fine in this configuration.

Given that absolute paths can be forced by make O=. cscope, change the
default back to relative paths.

Ian Campbell &lt;ijc@hellion.org.uk&gt;
Cc: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
Signed-off-by: Michal Marek &lt;mmarek@suse.cz&gt;
</content>
</entry>
<entry>
<title>tags: Add the ability to make tags for all archs using "all"</title>
<updated>2010-03-03T09:47:09Z</updated>
<author>
<name>John Kacur</name>
<email>jkacur@redhat.com</email>
</author>
<published>2010-03-02T15:57:52Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=bc75cc6b5636eed5f6a481cba808e906f71cfd94'/>
<id>urn:sha1:bc75cc6b5636eed5f6a481cba808e906f71cfd94</id>
<content type='text'>
make ALLSOURCE_ARCHS=all tags
- Document this in kbuild.txt
Without this change you have to type each arch separately.

Signed-off-by: John Kacur &lt;jkacur@redhat.com&gt;
Signed-off-by: Michal Marek &lt;mmarek@suse.cz&gt;
</content>
</entry>
<entry>
<title>tags: Fix spelling error in comment (is-&gt;if)</title>
<updated>2010-03-03T09:45:22Z</updated>
<author>
<name>John Kacur</name>
<email>jkacur@redhat.com</email>
</author>
<published>2010-03-02T14:38:10Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=4431d4ce996de2cd2c45583209ba0dbbc9bf2795'/>
<id>urn:sha1:4431d4ce996de2cd2c45583209ba0dbbc9bf2795</id>
<content type='text'>
Signed-off-by: John Kacur &lt;jkacur@redhat.com&gt;
Signed-off-by: Michal Marek &lt;mmarek@suse.cz&gt;
</content>
</entry>
<entry>
<title>tags: Use $SRCARCH</title>
<updated>2010-02-22T10:23:23Z</updated>
<author>
<name>Michal Marek</name>
<email>mmarek@suse.cz</email>
</author>
<published>2010-02-19T15:18:41Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=a8bac511c8c18878908eb49f33f7257610b15180'/>
<id>urn:sha1:a8bac511c8c18878908eb49f33f7257610b15180</id>
<content type='text'>
$ make mrproper
$ make tags
  GEN     tags
  find: `arch/x86_64/': No such file or directory

Caused by commit f81b1be (tags: include headers before source files)

Cc: Guennadi Liakhovetski &lt;g.liakhovetski@gmx.de&gt;
Acked-by: WANG Cong &lt;xiyou.wangcong@gmail.com&gt;
Signed-off-by: Michal Marek &lt;mmarek@suse.cz&gt;
</content>
</entry>
<entry>
<title>tags: include headers before source files</title>
<updated>2010-02-17T12:59:13Z</updated>
<author>
<name>Guennadi Liakhovetski</name>
<email>g.liakhovetski@gmx.de</email>
</author>
<published>2010-02-07T23:25:59Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=f81b1be40c44b33b9706d64c117edd29e627ad12'/>
<id>urn:sha1:f81b1be40c44b33b9706d64c117edd29e627ad12</id>
<content type='text'>
Currently looking up a structure definition in TAGS / tags takes one to
one of multiple "static struct X" definitions in arch sources, which makes
it for many structs practically impossible to get to the required header.
This patch changes the order of sources being tagged to first scan
architecture includes, then the top-level include/ directory, and only
then the rest. It also takes into account, that many architectures have
more than one include directory, i.e., not only arch/$ARCH/include, but
also arch/$ARCH/mach-X/include etc.

Signed-off-by: Guennadi Liakhovetski &lt;g.liakhovetski@gmx.de&gt;
Reviewed-by: WANG Cong &lt;xiyou.wangcong@gmail.com&gt;
[mmarek@suse.cz: fix 'var+=text' bashism]
Signed-off-by: Michal Marek &lt;mmarek@suse.cz&gt;
</content>
</entry>
<entry>
<title>kbuild: specify absolute paths for cscope</title>
<updated>2009-12-12T12:08:16Z</updated>
<author>
<name>Daniel Vetter</name>
<email>daniel.vetter@ffwll.ch</email>
</author>
<published>2009-11-26T12:34:12Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=eb8f844c0a41c4529a7d06b7801296eca9ae67aa'/>
<id>urn:sha1:eb8f844c0a41c4529a7d06b7801296eca9ae67aa</id>
<content type='text'>
Cscope doesn't hadle relative paths when cscope.out is not in $PWD. Use
absolute paths when generating cscope.files, which seems to be the
recommended way to generate cscope.out, anyway (at least according to
cscope.sf.net). The speed and size differences are minimal, the only
drawback is that the database needs to be regenerated if the source
directory is moved.

[mmarek: fixed for O= builds, modified changelog]

Signed-off-by: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
Signed-off-by: Michal Marek &lt;mmarek@suse.cz&gt;
</content>
</entry>
<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>
</feed>
