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:

Watch Sports Live Free Online said...

Packers Football Live
Ravens Game Live
Steelers Game Live
Titans Game Live

Philadelphia Eagles Game Live
Vikings Football Live
Minnesota Vikings Game Live

Ross Alva said...

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

Kim McNeeley said...

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

Kim McNeeley said...

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

vaidegi said...

very useful information
very good

카지노사이트 said...

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

소액결제 현금화 said...

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

신용카드 현금화 said...

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

안전놀이터 said...

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

토토사이트 said...

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