Re: [PATCH 0/8] [GIT PULL] TRACE_EVENT for modules

From: Jeremy Fitzhardinge
Date: Tue Apr 14 2009 - 17:49:18 EST


Theodore Tso wrote:
Any chance you could support something like this?


I think that's already there. I'm defining arch/x86/include/asm/paravirt-trace.h with:

#ifndef _ASM_X86_PARAVIRT_TRACE_H
#define _ASM_X86_PARAVIRT_TRACE_H

#include <linux/tracepoint.h>
#include <asm/paravirt_types.h>

#undef TRACE_SYSTEM
#define TRACE_SYSTEM pvops

#define TRACE_INCLUDE_FILE paravirt-trace
#define TRACE_INCLUDE_PATH asm
[...]


Which ends up including <asm/paravirt-trace.h>

J
--
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/