<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/include/trace/events/napi.h, branch v3.0.86</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/include/trace/events/napi.h?h=v3.0.86</id>
<link rel='self' href='https://git.amat.us/linux/atom/include/trace/events/napi.h?h=v3.0.86'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2010-09-07T15:51:01Z</updated>
<entry>
<title>napi: Convert trace_napi_poll to TRACE_EVENT</title>
<updated>2010-09-07T15:51:01Z</updated>
<author>
<name>Neil Horman</name>
<email>nhorman@tuxdriver.com</email>
</author>
<published>2010-08-23T09:43:51Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=3e4b10d7a4d2a78af64f8096dc7cdb3bebd65adb'/>
<id>urn:sha1:3e4b10d7a4d2a78af64f8096dc7cdb3bebd65adb</id>
<content type='text'>
This patch converts trace_napi_poll from DECLARE_EVENT to TRACE_EVENT
to improve the usability of napi_poll tracepoint.

          &lt;idle&gt;-0     [001] 241302.750777: napi_poll: napi poll on napi struct f6acc480 for device eth3
          &lt;idle&gt;-0     [000] 241302.852389: napi_poll: napi poll on napi struct f5d0d70c for device eth1

The original patch is below:
http://marc.info/?l=linux-kernel&amp;m=126021713809450&amp;w=2

[ sanagi.koki@jp.fujitsu.com: And add a fix by Steven Rostedt:
http://marc.info/?l=linux-kernel&amp;m=126150506519173&amp;w=2 ]

Signed-off-by: Neil Horman &lt;nhorman@tuxdriver.com&gt;
Acked-by: David S. Miller &lt;davem@davemloft.net&gt;
Acked-by: Neil Horman &lt;nhorman@tuxdriver.com&gt;
Cc: Mathieu Desnoyers &lt;mathieu.desnoyers@efficios.com&gt;
Cc: Kaneshige Kenji &lt;kaneshige.kenji@jp.fujitsu.com&gt;
Cc: Izumo Taku &lt;izumi.taku@jp.fujitsu.com&gt;
Cc: Kosaki Motohiro &lt;kosaki.motohiro@jp.fujitsu.com&gt;
Cc: Lai Jiangshan &lt;laijs@cn.fujitsu.com&gt;
Cc: Scott Mcmillan &lt;scott.a.mcmillan@intel.com&gt;
Cc: Steven Rostedt &lt;rostedt@goodmis.org&gt;
Cc: Eric Dumazet &lt;eric.dumazet@gmail.com&gt;
LKML-Reference: &lt;4C7242D7.4050009@jp.fujitsu.com&gt;
Signed-off-by: Koki Sanagi &lt;sanagi.koki@jp.fujitsu.com&gt;
Signed-off-by: Frederic Weisbecker &lt;fweisbec@gmail.com&gt;
</content>
</entry>
<entry>
<title>tracing: Fix tracepoint.h DECLARE_TRACE() to allow more than one header</title>
<updated>2010-05-05T15:46:17Z</updated>
<author>
<name>Steven Rostedt</name>
<email>srostedt@redhat.com</email>
</author>
<published>2010-05-05T14:52:31Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=2e26ca7150a4f2ab3e69471dfc65f131e7dd7a05'/>
<id>urn:sha1:2e26ca7150a4f2ab3e69471dfc65f131e7dd7a05</id>
<content type='text'>
When more than one header is included under CREATE_TRACE_POINTS
the DECLARE_TRACE() macro is not defined back to its original meaning
and the second include will fail to initialize the TRACE_EVENT()
and DECLARE_TRACE() correctly.

To fix this the tracepoint.h file moves the define of DECLARE_TRACE()
out of the #ifdef _LINUX_TRACEPOINT_H protection (just like the
define of the TRACE_EVENT()). This way the define_trace.h will undef
the DECLARE_TRACE() at the end and allow new headers to start
from scratch.

This patch also requires fixing the include/events/napi.h

It currently uses DECLARE_TRACE() and should be converted to a TRACE_EVENT()
format. But I'll leave that change to the authors of that file.
But since the napi.h file depends on using the CREATE_TRACE_POINTS
and does not define its own DEFINE_TRACE() it must use the define_trace.h
method instead.

Cc: Neil Horman &lt;nhorman@tuxdriver.com&gt;
Cc: David S. Miller &lt;davem@davemloft.net&gt;
Cc: Mathieu Desnoyers &lt;mathieu.desnoyers@efficios.com&gt;
Signed-off-by: Steven Rostedt &lt;rostedt@goodmis.org&gt;
</content>
</entry>
<entry>
<title>Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux-2.6</title>
<updated>2009-06-15T10:02:23Z</updated>
<author>
<name>David S. Miller</name>
<email>davem@davemloft.net</email>
</author>
<published>2009-06-15T10:02:23Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=9cbc1cb8cd46ce1f7645b9de249b2ce8460129bb'/>
<id>urn:sha1:9cbc1cb8cd46ce1f7645b9de249b2ce8460129bb</id>
<content type='text'>
Conflicts:
	Documentation/feature-removal-schedule.txt
	drivers/scsi/fcoe/fcoe.c
	net/core/drop_monitor.c
	net/core/net-traces.c
</content>
</entry>
</feed>
