{"id":126482,"date":"2020-05-14T03:45:47","date_gmt":"2020-05-13T19:45:47","guid":{"rendered":"http:\/\/4563.org\/?p=126482"},"modified":"2020-05-14T03:45:47","modified_gmt":"2020-05-13T19:45:47","slug":"%e5%a4%a7%e5%ae%b6%e5%af%b9%e4%ba%8e-ebpf-%e6%8a%80%e6%9c%af%e7%9a%84%e5%8f%91%e5%b1%95%e6%9c%89%e4%bb%80%e4%b9%88%e7%9c%8b%e6%b3%95%ef%bc%9f","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=126482","title":{"rendered":"\u5927\u5bb6\u5bf9\u4e8e eBPF \u6280\u672f\u7684\u53d1\u5c55\u6709\u4ec0\u4e48\u770b\u6cd5\uff1f"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  \u5927\u5bb6\u5bf9\u4e8e eBPF \u6280\u672f\u7684\u53d1\u5c55\u6709\u4ec0\u4e48\u770b\u6cd5\uff1f               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : purplewall <\/span>  <span><i><\/i> 12<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>\u6700\u8fd1\u8bfb\u4e86\u7bc7 eBPF \u6280\u672f\u7684\u6587\u7ae0\uff08 Simple and Precise Static Analysis of Untrusted Linux Kernel Extensions PLDI&#8217;19 \uff09\uff0c\u8fd8\u5728\u51e0\u4e2a\u4e0d\u9519\u7684\u516c\u4f17\u53f7\u4e0a\u90fd\u770b\u5230\u4e86\u5173\u4e8e eBPF \u7684\u6587\u7ae0\u3002<\/p>\n<p>\u78b0\u5de7\u8fd8\u770b\u5230 \u9648\u8389\u541b\u8001\u5e08\uff08\u6635\u79f0\u662f\uff0c\u4e0d\u77e5\u9053\u662f\u5426\u662f\u672c\u4eba\uff09\u7684\u9ad8\u8bc4\u4ef7\u7559\u8a00\uff08\u5927\u6982\u610f\u601d\uff0c\u627e\u4e0d\u5230\u5177\u4f53\u6587\u7ae0\u4e86\uff09 \u201c\u5bf9\u4e8e\u7528\u6237\u6001\u5185\u6838\u6001\uff0ceBPF \u586b\u5e73\u4e86\u6c9f\u58d1\uff0c\u5bf9\u4e8e\u5fae\u5185\u6838\u5b8f\u5185\u6838\uff0ceBPF \u51cf\u5c11\u4e86\u5dee\u5f02\u201d\u3002<\/p>\n<p>\u7136\u800c\u5bf9\u6bd4\u4e4b\u524d\u7684 systemtap\uff0chook\uff0ckprobe\uff0c\u9664\u4e86 JTT in-kernel \u865a\u62df\u673a\u548c\u9759\u6001\u5206\u6790 verifier \u589e\u5f3a\u5b89\u5168\u6027\u4e4b\u5916\uff0c\u6211\u4f3c\u4e4e\u5e76\u6ca1\u6709\u53d1\u73b0 eBPF \u5728<strong>\u529f\u80fd\u3001\u6027\u80fd<\/strong>\u4e0a\u975e\u5e38\u7279\u522b\u6216\u8005\u7a81\u51fa\u7684\u5730\u65b9\uff0c\u76f8\u53cd systemtap \u811a\u672c\u7684\u53ef\u80fd\u66f4\u5f3a\u5927\u3002<\/p>\n<p>\u56e0\u6b64\u6211\u60f3\u542c\u542c\u5927\u5bb6\u5bf9 eBPF \u6280\u672f\u53d1\u5c55\u7684\u770b\u6cd5\uff0c\u8fd9\u6280\u672f\u5230\u5e95\u725b\u5728\u54ea\u91cc\u80fd\u591f\u5f97\u5230\u8fd9\u4e48\u9ad8\u7684\u8bc4\u4ef7\u3002<\/p>\n<p>lwn.net \u53c2\u8003\u6587\u7ae0<br \/> A thorough introduction to eBPF<br \/> A JIT for packet filters<br \/> BPF: the universal in-kernel virtual machine<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>6<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"2017642\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : janxin <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u770b\u5230\u51e0\u4e2a\u5728\u7528\u7684\u662f\u5728\u505a\u5305\u8fc7\u6ee4\u76f8\u5173\u4e00\u4e9b\u7684\u4e1c\u897f\uff0csystemtap \u8fd8\u53ef\u4ee5\u505a\u5305\u8fc7\u6ee4\u7684\u4e48&#8230;                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"2017643\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : NoobPhper <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             mark\uff0c \u6211\u5173\u6ce8 ebpf \u4e3b\u8981\u662f cloud native \u8fd9\u4e2a\u65b9\u5411 \uff0c\u539f\u56e0\u662f\u8fd9\u6bb5\u65f6\u95f4\u6bd4\u8f83\u706b\u7684 cni cilium                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"2017644\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Chenamy2017 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u9648\u8389\u541b\u8001\u5e08\u7684\u516c\u4f17\u53f7\u662f\uff1aLinux \u5185\u6838\u4e4b\u65c5\uff0c\u4e0a\u9762\u6709\u5f88\u591a\u8bb2 eBPF \u7684\u6587\u7ae0\uff0c\u53ef\u4ee5\u53bb\u770b\u770b\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"2017645\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : tkl <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             ebpf eat the world                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"2017646\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : purplewall <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @janxin \u5305\u8fc7\u6ee4\u8fd9\u4e2a\u592a\u5f3a\u4e86\uff0c\u4e0d\u8fc7\u8fd9\u4e2a\u662f classic BPF\uff0c\u6211\u4e3b\u8981\u7684\u56f0\u60d1\u662f eBPF extend \u51fa\u6765\u7684\u90a3\u4e9b\u529f\u80fd                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"2017647\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : purplewall <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @tkl \u662f\u8fd9\u4e9b\u5417\uff1f\u5b66\u5230\u4e86\uff0c\u611f\u8c22\u3002<\/p>\n<p>https:\/\/blog.cloudflare.com\/cloudflare-architecture-and-how-bpf-eats-the-world\/<br \/>http:\/\/vger.kernel.org\/~acme\/perf\/bpf-is-eating-the-world-dont-you-see-lpc-lisbon-2019                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>\u5927\u5bb6\u5bf9\u4e8e eBPF \u6280\u672f\u7684\u53d1\u5c55\u6709\u4ec0&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/126482"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=126482"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/126482\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=126482"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=126482"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=126482"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}