[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <045301d02a60$ff36e8c0$fda4ba40$@alibaba-inc.com>
Date: Wed, 07 Jan 2015 18:02:07 +0800
From: "Hillf Danton" <hillf.zj@...baba-inc.com>
To: "'Wang Nan'" <wangnan0@...wei.com>
Cc: <linux@....linux.org.uk>, "'Ingo Molnar'" <mingo@...hat.com>,
<masami.hiramatsu.pt@...achi.com>,
<anil.s.keshavamurthy@...el.com>, <davem@...emloft.net>,
<ananth@...ibm.com>, <dave.long@...aro.org>, <tixy@...aro.org>,
<lizefan@...wei.com>,
"'linux-kernel'" <linux-kernel@...r.kernel.org>
Subject: RE: [RFC PATCH 09/11] kprobes: core logic of eraly kprobes
> >>
> >> +struct early_kprobe_slot {
> >> + struct optimized_kprobe op;
> >> +};
> >> +
> > [...]
> >>
> >> /* Free optimized instructions and optimized_kprobe */
> >> +static int ek_free_early_kprobe(struct early_kprobe_slot *slot);
> >
> > [2] How is it implemented? In subsequent patches?
> >
>
> It is implemented using macro. Please see patch 7/11 and
>
> DEFINE_EKPROBE_ALLOC_OPS(struct early_kprobe_slot, early_kprobe, static);
>
What is the reason that it is listed in C file, given that it is done in H already?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists