login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
September
»
3
Re: [PATCH v4 1/5] irq: add tracepoint to softirq_raise
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Frederic Weisbecker
Subject:
Re: [PATCH v4 1/5] irq: add tracepoint to softirq_raise
Date: Friday, September 3, 2010 - 8:42 am
On Fri, Sep 03, 2010 at 11:39:36AM -0400, Steven Rostedt wrote:
quoted text
> On Fri, 2010-09-03 at 17:29 +0200, Frederic Weisbecker wrote: > > > > #define softirq_name(sirq) { sirq##_SOFTIRQ, #sirq } > > > #define show_softirq_name(val) \ > > > @@ -93,7 +95,10 @@ DECLARE_EVENT_CLASS(softirq, > > > ), > > > > > > TP_fast_assign( > > > - __entry->vec = (int)(h - vec); > > > + if (vec) > > > + __entry->vec = (int)(h - vec); > > > + else > > > + __entry->vec = *((int *)h); > > > ), > > > > > > > > It seems that this will break softirq_entry/exit tracepoints. > > __entry->vec will deref vec->action() for these two, which is not > > what we want. > > But for trace_softirq_entry and trace_softirq_exit, vec will not be > NULL.
Oh right... /me slaps his forehead
quoted text
> > > > > If you can't have the same tracepoint signature for the three, just > > split the new one in a seperate TRACE_EVENT(). > > It may be a bit of a hack, and questionable about adding another > TRACE_EVENT(). There still is a pretty good space savings in using > DEFINE_EVENT() over TRACE_EVENT() though.
Yeah, let's keep it as is. --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH v4 0/5] netdev: show a process of packets
, Koki Sanagi
, (Mon Aug 23, 2:41 am)
[PATCH v4 1/5] irq: add tracepoint to softirq_raise
, Koki Sanagi
, (Mon Aug 23, 2:42 am)
[PATCH v4 2/5] napi: convert trace_napi_poll to TRACE_EVENT
, Koki Sanagi
, (Mon Aug 23, 2:43 am)
[PATCH v4 4/5] skb: add tracepoints to freeing skb
, Koki Sanagi
, (Mon Aug 23, 2:46 am)
[PATCH v4 5/5] perf:add a script shows a process of packet
, Koki Sanagi
, (Mon Aug 23, 2:47 am)
Re: [PATCH v4 2/5] napi: convert trace_napi_poll to TRACE_ ...
, David Miller
, (Mon Aug 23, 8:52 pm)
Re: [PATCH v4 3/5] netdev: add tracepoints to netdev layer
, David Miller
, (Mon Aug 23, 8:53 pm)
Re: [PATCH v4 4/5] skb: add tracepoints to freeing skb
, David Miller
, (Mon Aug 23, 8:53 pm)
Re: [PATCH v4 5/5] perf:add a script shows a process of packet
, David Miller
, (Mon Aug 23, 8:53 pm)
Re: [PATCH v4 0/5] netdev: show a process of packets
, Steven Rostedt
, (Mon Aug 30, 4:50 pm)
Re: [PATCH v4 0/5] netdev: show a process of packets
, Koki Sanagi
, (Thu Sep 2, 7:10 pm)
Re: [PATCH v4 0/5] netdev: show a process of packets
, David Miller
, (Thu Sep 2, 7:17 pm)
Re: [PATCH v4 0/5] netdev: show a process of packets
, Koki Sanagi
, (Thu Sep 2, 7:55 pm)
Re: [PATCH v4 0/5] netdev: show a process of packets
, Frederic Weisbecker
, (Thu Sep 2, 9:46 pm)
Re: [PATCH v4 0/5] netdev: show a process of packets
, Koki Sanagi
, (Thu Sep 2, 10:12 pm)
Re: [PATCH v4 1/5] irq: add tracepoint to softirq_raise
, Frederic Weisbecker
, (Fri Sep 3, 8:29 am)
Re: [PATCH v4 1/5] irq: add tracepoint to softirq_raise
, Steven Rostedt
, (Fri Sep 3, 8:39 am)
Re: [PATCH v4 1/5] irq: add tracepoint to softirq_raise
, Frederic Weisbecker
, (Fri Sep 3, 8:42 am)
Re: [PATCH v4 1/5] irq: add tracepoint to softirq_raise
, Steven Rostedt
, (Fri Sep 3, 8:43 am)
Re: [PATCH v4 1/5] irq: add tracepoint to softirq_raise
, Frederic Weisbecker
, (Fri Sep 3, 8:50 am)
Re: [PATCH v4 1/5] irq: add tracepoint to softirq_raise
, Koki Sanagi
, (Sun Sep 5, 6:46 pm)
Re: [PATCH v4 5/5] perf:add a script shows a process of packet
, Frederic Weisbecker
, (Tue Sep 7, 9:57 am)
[tip:perf/core] irq: Add tracepoint to softirq_raise
, tip-bot for Lai Jian ...
, (Wed Sep 8, 1:33 am)
[tip:perf/core] napi: Convert trace_napi_poll to TRACE_EVENT
, tip-bot for Neil Horman
, (Wed Sep 8, 1:34 am)
[tip:perf/core] skb: Add tracepoints to freeing skb
, tip-bot for Koki Sanagi
, (Wed Sep 8, 1:35 am)
[tip:perf/core] perf: Add a script to show packets processing
, tip-bot for Koki Sanagi
, (Wed Sep 8, 1:35 am)
[sparc build bug] Re: [tip:perf/core] irq: Add tracepoint ...
, Ingo Molnar
, (Wed Sep 8, 4:25 am)
[PATCH] irq: Fix circular headers dependency
, Frederic Weisbecker
, (Wed Sep 8, 5:26 am)
[tip:perf/core] irq: Fix circular headers dependency
, tip-bot for Frederic ...
, (Thu Sep 9, 12:54 pm)
Re: [sparc build bug] Re: [tip:perf/core] irq: Add tracepo ...
, Peter Zijlstra
, (Mon Oct 18, 2:44 am)
Re: [sparc build bug] Re: [tip:perf/core] irq: Add tracepo ...
, Peter Zijlstra
, (Mon Oct 18, 3:11 am)
Re: [sparc build bug] Re: [tip:perf/core] irq: Add tracepo ...
, Heiko Carstens
, (Mon Oct 18, 3:26 am)
Re: [sparc build bug] Re: [tip:perf/core] irq: Add tracepo ...
, Peter Zijlstra
, (Mon Oct 18, 3:48 am)
Re: [sparc build bug] Re: [tip:perf/core] irq: Add tracepo ...
, Koki Sanagi
, (Tue Oct 19, 3:58 am)
Re: [sparc build bug] Re: [tip:perf/core] irq: Add tracepo ...
, Peter Zijlstra
, (Tue Oct 19, 4:25 am)
[PATCH] tracing: Cleanup the convoluted softirq tracepoints
, Thomas Gleixner
, (Tue Oct 19, 6:00 am)
Re: [PATCH] tracing: Cleanup the convoluted softirq tracep ...
, Peter Zijlstra
, (Tue Oct 19, 6:08 am)
Re: [PATCH] tracing: Cleanup the convoluted softirq tracep ...
, Mathieu Desnoyers
, (Tue Oct 19, 6:22 am)
Re: [PATCH] tracing: Cleanup the convoluted softirq tracep ...
, Thomas Gleixner
, (Tue Oct 19, 6:41 am)
Re: [PATCH] tracing: Cleanup the convoluted softirq tracep ...
, Steven Rostedt
, (Tue Oct 19, 6:54 am)
Re: [PATCH] tracing: Cleanup the convoluted softirq tracep ...
, Mathieu Desnoyers
, (Tue Oct 19, 7:00 am)
Re: [PATCH] tracing: Cleanup the convoluted softirq tracep ...
, Thomas Gleixner
, (Tue Oct 19, 7:07 am)
Re: [PATCH] tracing: Cleanup the convoluted softirq tracep ...
, Mathieu Desnoyers
, (Tue Oct 19, 7:28 am)
Re: [PATCH] tracing: Cleanup the convoluted softirq tracep ...
, Steven Rostedt
, (Tue Oct 19, 7:46 am)
Re: [PATCH] tracing: Cleanup the convoluted softirq tracep ...
, Thomas Gleixner
, (Tue Oct 19, 12:49 pm)
Re: [PATCH] tracing: Cleanup the convoluted softirq tracep ...
, Steven Rostedt
, (Tue Oct 19, 1:55 pm)
Re: [PATCH] tracing: Cleanup the convoluted softirq tracep ...
, Thomas Gleixner
, (Tue Oct 19, 2:07 pm)
Re: [PATCH] tracing: Cleanup the convoluted softirq tracep ...
, David Daney
, (Tue Oct 19, 2:16 pm)
Re: [PATCH] tracing: Cleanup the convoluted softirq tracep ...
, Steven Rostedt
, (Tue Oct 19, 2:23 pm)
Re: [PATCH] tracing: Cleanup the convoluted softirq tracep ...
, Jason Baron
, (Tue Oct 19, 2:28 pm)
Re: [PATCH] tracing: Cleanup the convoluted softirq tracep ...
, Jason Baron
, (Tue Oct 19, 2:32 pm)
Re: [PATCH] tracing: Cleanup the convoluted softirq tracep ...
, David Daney
, (Tue Oct 19, 2:38 pm)
Re: [PATCH] tracing: Cleanup the convoluted softirq tracep ...
, Thomas Gleixner
, (Tue Oct 19, 2:45 pm)
Re: [PATCH] tracing: Cleanup the convoluted softirq tracep ...
, Steven Rostedt
, (Tue Oct 19, 2:47 pm)
Re: [PATCH] tracing: Cleanup the convoluted softirq tracep ...
, H. Peter Anvin
, (Tue Oct 19, 2:48 pm)
Re: [PATCH] tracing: Cleanup the convoluted softirq tracep ...
, Thomas Gleixner
, (Tue Oct 19, 2:55 pm)
Re: [PATCH] tracing: Cleanup the convoluted softirq tracep ...
, Thomas Gleixner
, (Tue Oct 19, 3:04 pm)
Re: [PATCH] tracing: Cleanup the convoluted softirq tracep ...
, Steven Rostedt
, (Tue Oct 19, 3:14 pm)
Re: [PATCH] tracing: Cleanup the convoluted softirq tracep ...
, Thomas Gleixner
, (Tue Oct 19, 3:17 pm)
Re: [PATCH] tracing: Cleanup the convoluted softirq tracep ...
, Steven Rostedt
, (Tue Oct 19, 3:23 pm)
Re: [PATCH] tracing: Cleanup the convoluted softirq tracep ...
, H. Peter Anvin
, (Tue Oct 19, 3:26 pm)
Re: [PATCH] tracing: Cleanup the convoluted softirq tracep ...
, Peter Zijlstra
, (Tue Oct 19, 3:27 pm)
Re: [PATCH] tracing: Cleanup the convoluted softirq tracep ...
, Steven Rostedt
, (Tue Oct 19, 3:33 pm)
Re: [PATCH] tracing: Cleanup the convoluted softirq tracep ...
, Jason Baron
, (Tue Oct 19, 3:38 pm)
Re: [PATCH] tracing: Cleanup the convoluted softirq tracep ...
, Mathieu Desnoyers
, (Tue Oct 19, 3:41 pm)
Re: [PATCH] tracing: Cleanup the convoluted softirq tracep ...
, H. Peter Anvin
, (Tue Oct 19, 3:44 pm)
Re: [PATCH] tracing: Cleanup the convoluted softirq tracep ...
, H. Peter Anvin
, (Tue Oct 19, 3:49 pm)
Re: [PATCH] tracing: Cleanup the convoluted softirq tracep ...
, Steven Rostedt
, (Tue Oct 19, 3:56 pm)
Re: [PATCH] tracing: Cleanup the convoluted softirq tracep ...
, H. Peter Anvin
, (Tue Oct 19, 3:57 pm)
Re: [PATCH] tracing: Cleanup the convoluted softirq tracep ...
, Steven Rostedt
, (Tue Oct 19, 4:05 pm)
Re: [PATCH] tracing: Cleanup the convoluted softirq tracep ...
, H. Peter Anvin
, (Tue Oct 19, 4:09 pm)
Re: [PATCH] tracing: Cleanup the convoluted softirq tracep ...
, H. Peter Anvin
, (Tue Oct 19, 4:39 pm)
Re: [PATCH] tracing: Cleanup the convoluted softirq tracep ...
, Steven Rostedt
, (Tue Oct 19, 4:45 pm)
Re: [PATCH] tracing: Cleanup the convoluted softirq tracep ...
, Jason Baron
, (Tue Oct 19, 5:43 pm)
Re: [PATCH] tracing: Cleanup the convoluted softirq tracep ...
, Steven Rostedt
, (Tue Oct 19, 6:36 pm)
Re: [PATCH] tracing: Cleanup the convoluted softirq tracep ...
, Jason Baron
, (Tue Oct 19, 6:52 pm)
Re: [PATCH] tracing: Cleanup the convoluted softirq tracep ...
, Jason Baron
, (Wed Oct 20, 8:27 am)
Re: [PATCH] tracing: Cleanup the convoluted softirq tracep ...
, Mathieu Desnoyers
, (Wed Oct 20, 8:41 am)
[tip:perf/core] tracing: Cleanup the convoluted softirq tr ...
, tip-bot for Thomas G ...
, (Thu Oct 21, 7:52 am)
Re: [PATCH] tracing: Cleanup the convoluted softirq tracep ...
, Thomas Gleixner
, (Thu Oct 21, 9:18 am)
Re: [PATCH] tracing: Cleanup the convoluted softirq tracep ...
, Steven Rostedt
, (Thu Oct 21, 10:05 am)
Re: [PATCH] tracing: Cleanup the convoluted softirq tracep ...
, Thomas Gleixner
, (Thu Oct 21, 12:56 pm)
Re: [PATCH] tracing: Cleanup the convoluted softirq tracep ...
, H. Peter Anvin
, (Mon Oct 25, 2:54 pm)
Re: [PATCH] tracing: Cleanup the convoluted softirq tracep ...
, Mathieu Desnoyers
, (Mon Oct 25, 3:01 pm)
Re: [PATCH] tracing: Cleanup the convoluted softirq tracep ...
, H. Peter Anvin
, (Mon Oct 25, 3:12 pm)
Re: [PATCH] tracing: Cleanup the convoluted softirq tracep ...
, H. Peter Anvin
, (Mon Oct 25, 3:19 pm)
Re: [PATCH] tracing: Cleanup the convoluted softirq tracep ...
, H. Peter Anvin
, (Mon Oct 25, 3:31 pm)
Re: [PATCH] tracing: Cleanup the convoluted softirq tracep ...
, H. Peter Anvin
, (Mon Oct 25, 3:32 pm)
Re: [PATCH] tracing: Cleanup the convoluted softirq tracep ...
, Mathieu Desnoyers
, (Mon Oct 25, 3:55 pm)
Re: [PATCH] tracing: Cleanup the convoluted softirq tracep ...
, Steven Rostedt
, (Mon Oct 25, 5:39 pm)
Re: [PATCH] tracing: Cleanup the convoluted softirq tracep ...
, Mathieu Desnoyers
, (Mon Oct 25, 6:14 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-fsdevel
:
Aneesh Kumar K.V
[PATCH -V8 6/9] ext4: Add get_fsid callback
Bertram
Bertram has something to show you!
David
Greeting Card from eCardica.com
support
BANESTO INFORMACION IMPORTANTE SOBRE SU SEGURIDAD
Wendy Cheng
Re: [PATCH] prune_icache_sb
linux-usb
:
Albert Herranz
[PATCH v4 08/11] wii: have generic dma coherent
Takahiro Nishikawa
USB3.0 xHCI on powerpc
Greg Kroah-Hartman
[PATCH 036/122] USB: g_file_storage: more code from file_storage.c moved to storag...
Jason Wessel
[PATCH 5/5] usb_debug: EXPERIMENTAL - poll hcd device to force writes
Olivier Bornet
Problem with iuu_phoenix module
linux-activists
:
Paul S. Kilroy
help compiling interviews
Jonathan Magid
x386 sc spreadsheet
Dahai Li
Help on as86?
Stephen Tweedie
Re: Dos6 killed Linux :-(
Gonzo
QIC-80
netbsd-tech-kern
:
Thomas E. Spanjaard
Re: Bad side effect of "newdirpref"
Manuel Bouyer
Re: freebsd 5.99.41 as XEN3_DOMU
Jason Thorpe
Re: Atomic ops API
Jonathan Stone
opencrypto panics when calling AES?
Antti Kantee
Re: Enabling built-in modules earlier in init
openfabrics-general
:
Mahmoud Hanafi
Re: [ofa-general] ofed1.2.5rc2 and intel mpi error
Bart Van Assche
Re: [ofa-general] Infiniband Driver support for Mellanox HCA in Centos 5.3
Ashwath Narasimhan
Re: [ofa-general] Infiniband Driver support for Mellanox HCA in Centos 5.3
Tziporet Koren
Re: [ofa-general] Infiniband Driver support for Mellanox HCA in Centos 5.3
Patrick McHardy
Re: [ofa-general] Re: [PATCH v3 08/13] QLogic VNIC: sysfs interface implementation...
Colocation donated by:
Syndicate