Re: trace/events: DECLARE vs DEFINE semantic
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- Subject: Re: trace/events: DECLARE vs DEFINE semantic
- From: Steven Rostedt <rostedt@xxxxxxxxxxx>
- Date: Thu, 03 Dec 2009 10:56:13 -0500
- Cc: Mathieu Desnoyers <mathieu.desnoyers@xxxxxxxxxx>, akpm@xxxxxxxxxxxxxxxxxxxx, Ingo Molnar <mingo@xxxxxxx>, mingo@xxxxxxxxxx, hpa@xxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, randy.dunlap@xxxxxxxxxx, wcohen@xxxxxxxxxx, fweisbec@xxxxxxxxx, tglx@xxxxxxxxxxxxx, jbaron@xxxxxxxxxx, linux-tip-commits@xxxxxxxxxxxxxxx, Christoph Hellwig <hch@xxxxxx>
- In-reply-to: <4B17D9D1.7010402@xxxxxxxxxx>
- Organization: Kihon Technologies Inc.
- References: <20091202144334.GA30359@xxxxxxx> <1259765735.12870.42.camel@xxxxxxxxxxxxxxxxxxx> <20091202162715.GB9710@Krystal> <1259773888.12870.61.camel@xxxxxxxxxxxxxxxxxxx> <20091202180633.GF9710@Krystal> <1259777987.12870.70.camel@xxxxxxxxxxxxxxxxxxx> <20091202190135.GA23316@Krystal> <1259781578.12870.78.camel@xxxxxxxxxxxxxxxxxxx> <4B16EC06.6010706@xxxxxxxxxx> <1259794005.12870.102.camel@xxxxxxxxxxxxxxxxxxx> <20091202231019.GB14770@Krystal> <4B1737E2.6010502@xxxxxxxxxx> <1259813228.12870.108.camel@xxxxxxxxxxxxxxxxxxx> <4B17C25A.8090703@xxxxxxxxxx> <1259848493.12870.114.camel@xxxxxxxxxxxxxxxxxxx> <4B17D9D1.7010402@xxxxxxxxxx>
- Reply-to: rostedt@xxxxxxxxxxx
On Thu, 2009-12-03 at 10:31 -0500, Masami Hiramatsu wrote:
> Steven Rostedt wrote:
> >> Would you mean putting those headers in sub-system's directory?
> >> (e.g. fs/ext4/)
> >> In that case, a problem will happen when user want to hook those
> >> tracepoint from their module, because it is hard to find those
> >> local headers.
> >
> > Why? Modules usually do have their own headers in their sub system.
>
> Module's local headers usually uses only from itself. Other modules
> may not touch it. However, AFAIK, event definitions must be referred
> by event consumer which is another module. IOW, those local headers
> will not be included in kernel-headers/kernel-devel package :-(
I'm a little confused. Who is the event consumer? The trace point user?
The one that hooks into the tracepoint?
-- Steve
--
To unsubscribe from this list: send the line "unsubscribe linux-tip-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Index of Archives]
[Linux Stable Commits]
[Linux Stable Kernel]
[Linux Kernel]
[Linux USB Devel]
[Linux Video &Media]
[Linux Audio Users]
[Yosemite News]
[Linux SCSI]