On Tue, Jan 20, 2015 at 3:57 AM, Masami Hiramatsu
wrote:
>
> Ok, BTW, would you think is it possible to use a reusable small scratchpad
> memory for passing arguments? (just a thought)
sure. doable, but what's the use case?
>> It's not usable for high frequency events which
>> need this
(2015/01/20 12:55), Alexei Starovoitov wrote:
> On Mon, Jan 19, 2015 at 6:58 PM, Masami Hiramatsu
> wrote:
>>>
>>> it's done already... one can do the same skb->dev->name logic
>>> in kprobe attached program... so from bpf program point of view,
>>> tracepoints and kprobes feature-wise are
(2015/01/20 12:55), Alexei Starovoitov wrote:
On Mon, Jan 19, 2015 at 6:58 PM, Masami Hiramatsu
masami.hiramatsu...@hitachi.com wrote:
it's done already... one can do the same skb-dev-name logic
in kprobe attached program... so from bpf program point of view,
tracepoints and kprobes
On Tue, Jan 20, 2015 at 3:57 AM, Masami Hiramatsu
masami.hiramatsu...@hitachi.com wrote:
Ok, BTW, would you think is it possible to use a reusable small scratchpad
memory for passing arguments? (just a thought)
sure. doable, but what's the use case?
It's not usable for high frequency events
On Mon, Jan 19, 2015 at 6:58 PM, Masami Hiramatsu
wrote:
>>
>> it's done already... one can do the same skb->dev->name logic
>> in kprobe attached program... so from bpf program point of view,
>> tracepoints and kprobes feature-wise are exactly the same.
>> Only input is different.
>
> No, I
(2015/01/20 5:48), Alexei Starovoitov wrote:
> On Mon, Jan 19, 2015 at 1:52 AM, Masami Hiramatsu
> wrote:
>> If we can write the script as
>>
>> int bpf_prog4(s64 write_size)
>> {
>>...
>> }
>>
>> This will be much easier to play with.
>
> yes. that's the intent for user space to do.
>
>>>
On Mon, Jan 19, 2015 at 6:58 PM, Masami Hiramatsu
masami.hiramatsu...@hitachi.com wrote:
it's done already... one can do the same skb-dev-name logic
in kprobe attached program... so from bpf program point of view,
tracepoints and kprobes feature-wise are exactly the same.
Only input is
(2015/01/20 5:48), Alexei Starovoitov wrote:
On Mon, Jan 19, 2015 at 1:52 AM, Masami Hiramatsu
masami.hiramatsu...@hitachi.com wrote:
If we can write the script as
int bpf_prog4(s64 write_size)
{
...
}
This will be much easier to play with.
yes. that's the intent for user space to
8 matches
Mail list logo