Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
elf parsing should use buffered reads #907
We are using unbuffered file input for reads. When performing a stack trace we need to parse the elf for information and this is doing it one byte at a time resulting in an enormous number of read syscalls.
We should be able to use
I wonder if it would be beneficial it would be to default to buffering with an
However, it empirically appears that Linux does not map the