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、命令セットもモダンなプロセッサーにマッピングできるように見直された。

7 comments:

Sathya said...

Nice post. It is really interesting. Thanks for sharing the post!
Fridge Online | Buy Fridge Online
Buy Refrigerator Online | Washing Machine Online
Washing Machine Offers | Buy Washing Machine Online
Buy Smartphone Online | Buy Smartphone Online in India
Sathya Online Shopping | Sathya Online

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,

buy gmail pva accounts said...

Social media marketing is currently the most important way to express your business to your customers. Due to recent pandemic situation, the world has changed digitally, for this purpose social media accounts are really necessary. And we recommend you to buy Facebook, Instagram, Twitter Pinterest Google accounts from us at very affordable and reasonable price. Thanks! buy gmail pva accounts https://toppva.com/gmail-pva-accounts/

buy gmail pva accounts said...

Social media marketing is currently the most important way to express your business to your customers. Due to recent pandemic situation, the world has changed digitally, for this purpose social media accounts are really necessary. And we recommend you to buy Facebook, Instagram, Twitter Pinterest Google accounts from us at very affordable and reasonable price. Thanks! https://buypvabulkaccounts.com/buy-gmail-accounts-in-bulk/