Re: [PATCH] ext4: Add a stub for mpage_da_data in the trace header

From: Christoph Hellwig
Date: Wed Sep 30 2009 - 09:33:43 EST


On Tue, Sep 29, 2009 at 02:40:07PM -0700, Josh Stone wrote:
> The tracepoint ext4_da_write_pages has a struct mpage_da_data*
> parameter, but that struct is only defined in fs/ext4/ext4.h. This
> patch adds a forward declaration for that struct, so this tracepoint
> header can still be used by tools like SystemTap.

That's not what the tracepoints are for anyway. No hacks for out of
tree crap like this please - just use the trace buffer directly like
ftrace and then you don't actually need any data types.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/