Re: [PATCH 02/13] tracing/kprobes: Add fetch{,_size} member into symbol and deref fetch method

From: Namhyung Kim
Date: Mon Aug 05 2013 - 04:58:44 EST


On Mon, 05 Aug 2013 17:19:50 +0900, Masami Hiramatsu wrote:
> (2013/07/31 18:03), Namhyung Kim wrote:
>> From: Hyeoncheol Lee <cheol.lee@xxxxxxx>
>>
>> Those symbol and deref fetch methods access a memory region but they
>> assume it's a kernel memory since uprobes does not support them.
>>
>> Add ->fetch and ->fetch_size member in order to provide a proper
>> access method for supporting uprobes.
>
> It looks symbol cache is not used by uprobes. I think it it enough to
> add fetch/fetch_size to only deref, isn't it?

Right. I will change it in the next spin.

Thanks,
Namhyung
--
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/