![]() ![]() These don't live in the kernel code base, they live in a Linux Foundation project on github called iovisor. For tracing, the main ones are bcc and bpftrace. People will use it and code in it via frameworks. But no one codes in v8: they code in JavaScript, or often a framework on top of JavaScript (jQuery, Angular, React, etc). Programming in eBPF directly is incredibly hard, the same as coding in v8 bytecode. In reality, eBPF is more like the v8 virtual machine that runs JavaScript, rather than JavaScript itself. And with eBPF, instead of a fixed kernel, you can now write mini programs that run on events like disk I/O, which are run in a safe virtual machine in the kernel. (Sort of.) So instead of a static HTML website, JavaScript lets you define mini programs that run on events like mouse clicks, which are run in a safe virtual machine in the browser. ![]() What is eBPF, bcc, bpftrace, and iovisor?ĮBPF does to Linux what JavaScript does to HTML. Update: I have a new book about eBPF tracing, published by Addison Wesley: BPF Performance Tools: Linux System and Application Observability. Advanced: develop bcc tools, contribute to bcc & bpftrace.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |