vitalyvch / strace.ebpf

This repository contains a tool which traces syscalls in a fast way using eBPF linux kernel feature
https://github.com/vitalyvch/strace.ebpf
Other
16 stars 6 forks source link

Fix race of write to logfile from different threads. #51

Open vitalyvch opened 7 years ago

vitalyvch commented 7 years ago

Probably we should create a 4k buffer on a stack and create output record in that buffer, and write a whole buffer in one call.