iovisor / gobpf

Go bindings for creating BPF programs.
Apache License 2.0
2.14k stars 314 forks source link

fix parse tarceline #313

Open lzh2nix opened 2 years ago

lzh2nix commented 2 years ago

fix tracepipe parseTraceLine bug, where tarceLine like this:

            bash-110023  [001] d...1 235601.276492: bpf_trace_printk: hello world!!!\n

my env:

[root@fedora ~]# uname -a
Linux fedora 5.17.5-300.fc36.aarch64 #1 SMP Thu Apr 28 15:22:08 UTC 2022 aarch64 aarch64 aarch64 GNU/Linux
[root@fedora ~]# cat /etc/fedora-release
Fedora release 36 (Thirty Six)
lzh2nix commented 2 years ago

@muhammednagy this is my first PR, please help approve to run workflows