<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/scripts/tags.sh, branch v2.6.38</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.38</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v2.6.38'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2011-01-10T16:29:25Z</updated>
<entry>
<title>Merge branch 'misc' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild-2.6</title>
<updated>2011-01-10T16:29:25Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2011-01-10T16:29:25Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=e3166331a3288dd7184548896a1c7ab682f0dbe8'/>
<id>urn:sha1:e3166331a3288dd7184548896a1c7ab682f0dbe8</id>
<content type='text'>
* 'misc' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild-2.6:
  Documentation/kbuild: add info that 'choice' can have a symbol name
  kbuild: add numeric --set-val option to scripts/config
  headers_check: Fix warning text
  headers_check: better search for functions in headers
  scripts/coccinelle: update for compatability with Coccinelle 0.2.4
  tags: put function prototypes back!
  Kconfig: fix single letter command in scripts/config
  gitignore: add scripts/recordmcount
</content>
</entry>
<entry>
<title>scripts/tags.sh: Add magic for trace-events</title>
<updated>2010-12-02T14:39:48Z</updated>
<author>
<name>Peter Zijlstra</name>
<email>peterz@infradead.org</email>
</author>
<published>2010-11-24T09:43:55Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=15664125f7cadcb6d725cb2d9b90f9715397848d'/>
<id>urn:sha1:15664125f7cadcb6d725cb2d9b90f9715397848d</id>
<content type='text'>
Make tags find the trace-event definitions

Acked-by: WANG Cong &lt;xiyou.wangcong@gmail.com&gt;
Signed-off-by: Peter Zijlstra &lt;a.p.zijlstra@chello.nl&gt;
LKML-Reference: &lt;1290591835.2072.438.camel@laptop&gt;
Signed-off-by: Steven Rostedt &lt;rostedt@goodmis.org&gt;
</content>
</entry>
<entry>
<title>tags: put function prototypes back!</title>
<updated>2010-12-02T11:46:18Z</updated>
<author>
<name>Uwe Kleine-König</name>
<email>u.kleine-koenig@pengutronix.de</email>
</author>
<published>2010-11-04T09:24:16Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=0a18a9386c056028799938960f91be338c4ff349'/>
<id>urn:sha1:0a18a9386c056028799938960f91be338c4ff349</id>
<content type='text'>
Commit 7db86dc (ctags: usability fix) removed function prototypes from
tags file claiming "It makes no real sense to include function
prototypes".
But it is useful for quickly determining which header file developer
needs to include to fix compilation.

Now if someone wants to remove forward declarations (which I agree are
baggage), write a postprocessing script.

Signed-off-by: Alexey Dobriyan &lt;adobriyan@gmail.com&gt;
Signed-off-by: Uwe Kleine-König &lt;u.kleine-koenig@pengutronix.de&gt;
Signed-off-by: Michal Marek &lt;mmarek@suse.cz&gt;
</content>
</entry>
<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>
</feed>
