lkml.org 
[lkml]   [2009]   [Apr]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 0/8] [GIT PULL] TRACE_EVENT for modules

On Tue, 14 Apr 2009, Jeremy Fitzhardinge wrote:

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

Not quite. It ends up looking like

#include "asm/paravirt-trace.h"

As long as there is no "asm" directory in the include/trace directory, I
think that is fine.

-- Steve



\
 
 \ /
  Last update: 2009-04-14 23:57    [W:0.145 / U:3.484 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site