Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1207194
| From | Alexei Starovoitov <ast@plumgrid.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [RFC PATCH v6 0/2] Make eBPF programs output data to perf |
| Date | 2015-08-13 23:50 +0200 |
| Message-ID | <pX8xP-7ln-11@gated-at.bofh.it> (permalink) |
| References | <pOw6m-4dW-5@gated-at.bofh.it> <pX8et-6ZO-15@gated-at.bofh.it> <pX8oa-7bD-27@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 8/13/15 2:35 PM, pi3orama wrote: > I was thinking about whether to add a "type" field there, so we will have an explicit > mov const instruction before the call instruction, which can act as a mark. Also, if > we generate the type code automatically, a type field in this API can make things > easier since we don't need wrap the user structure in BPF stack. However, the > LLVM side is not ready yet, so we haven't post the new version. I think the helper was clean enough. Any type info probably needs to be done as a side channel and not part of the helper anyway. But, ok, let's figure out the type stuff first. Also I don't think you can rely on extra insn in front of a call insn. Compiler can freely insert other insns there. You don't want to introduce data flow analysis in elf parser. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: [RFC PATCH v6 0/2] Make eBPF programs output data to perf Alexei Starovoitov <ast@plumgrid.com> - 2015-08-13 23:30 +0200
Re: [RFC PATCH v6 0/2] Make eBPF programs output data to perf pi3orama <pi3orama@163.com> - 2015-08-13 23:40 +0200
Re: [RFC PATCH v6 0/2] Make eBPF programs output data to perf Alexei Starovoitov <ast@plumgrid.com> - 2015-08-13 23:50 +0200
Re: [RFC PATCH v6 0/2] Make eBPF programs output data to perf "Wangnan (F)" <wangnan0@huawei.com> - 2015-08-19 05:10 +0200
csiph-web