brendangregg / bpf-perf-tools-book

Official repository for the BPF Performance Tools book
1.61k stars 284 forks source link

shellsnoop: Update to Python3 (fix output) #29

Open bernhardkaindl opened 5 months ago

bernhardkaindl commented 5 months ago

Hello Brendan,

An incredible book!

This fixes the output of this shellsnoop.py to work with Python3:

PS, just as a Question: Is it possible for you license these examples under e.g. the upstream Apache 2.0 License so they could be merged upstream?

Thanks!