Saeshnikov / Linux-monitoring-utility

MIT License
2 stars 0 forks source link

Problem with bpftrace scripts #131

Closed sonix14 closed 2 weeks ago

sonix14 commented 1 month ago

When running a program with added parsers on a system with bpftrace version V.0.19.1, the following errors occur: image You can reproduce this problem from the parsers_main branch

Also when running a program with only one script (fsorw.bt) on a system with bpftrace version v0.17.0, the following error is displayed (when the script is run for the first time): image

Saeshnikov commented 3 weeks ago

Also when running a program with only one script (fsorw.bt) on a system with bpftrace version v0.17.0, the following error is displayed (when the script is run for the first time):

The problem was solved by excluding this row: https://github.com/Saeshnikov/Linux-monitoring-utility/blob/cc9ce6ec58db498329fb073a9d0140a721e0e7d5/cmd/main.go#L31