2020-08-05

GDBがeBPFのデバッグをサポートした

GDBがeBPFのデバッグをサポートした。

GNU Debugger Adding eBPF Debugging Support - Phoronix

eBPFというのはLinuxカーネル内の仮想マシンだ。

もともと、BPF(Barkley Packet Filter)という仮想マシンがあった。これはネットワークのパケットフィルタリングをするための仮想マシンで、レジスターベースのRISCプロセッサーを模した命令セットになっている。

カーネル内で安全にユーザーコードを実行するというのは需要があるので、BPFをより汎用的に使いたいという声は多かったのだが、何分BPFは設計が古い。レジスタは2個で32bit、命令セットはatomic compare exchangeのようなモダンなプロセッサーに搭載されている命令がない。

そのためeBPF(extended BPF)が設計された。レジスタは10個で64bit、命令セットもモダンなプロセッサーにマッピングできるように見直された。

10 comments:

  1. Wow!! This really is a nice and awesome post!!
    Thanks for sharing it!!
    Buy regular gmail accounts

    ReplyDelete
  2. Google 5 Star Rating , Wow Great... your writing is so good I got a good idea later. Thanks,

    ReplyDelete
  3. Google 5 Star Rating , Wow Great... your writing is so good I got a good idea later. Thanks,

    ReplyDelete
  4. very useful information
    very good

    ReplyDelete
  5. This is a very good article. I see the greatest contents on your blog and I extremely love reading them.

    ReplyDelete
  6. I really love the quality writing as offered on this post, cheers to the writer.

    ReplyDelete
  7. This is such a great resource that you are providing and you give it away for free.

    ReplyDelete
  8. My pleasure to visit here. Very wonderful and fantastic post! Good job and thanks lots. ...

    ReplyDelete
  9. Cool stuff you have got and you keep update all of us.

    ReplyDelete

You can use some HTML elements, such as <b>, <i>, <a>, also, some characters need to be entity referenced such as <, > and & Your comment may need to be confirmed by blog author. Your comment will be published under GFDL 1.3 or later license with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.