aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorPaul Chaignon <[email protected]>2021-12-20 21:45:28 +0000
committerAndrii Nakryiko <[email protected]>2021-12-21 23:44:51 +0000
commit1a1a0b0364ad291bd8e509da104ac8b5b1afec5d (patch)
tree2a33bb0a3dcba47642b729a064c56134c2035053 /net/unix/af_unix.c
parentbpf: Use struct_size() helper (diff)
downloadkernel-1a1a0b0364ad291bd8e509da104ac8b5b1afec5d.tar.gz
kernel-1a1a0b0364ad291bd8e509da104ac8b5b1afec5d.zip
bpftool: Enable line buffering for stdout
The output of bpftool prog tracelog is currently buffered, which is inconvenient when piping the output into other commands. A simple tracelog | grep will typically not display anything. This patch fixes it by enabling line buffering on stdout for the whole bpftool binary. Fixes: 30da46b5dc3a ("tools: bpftool: add a command to dump the trace pipe") Signed-off-by: Quentin Monnet <[email protected]> Signed-off-by: Paul Chaignon <[email protected]> Signed-off-by: Andrii Nakryiko <[email protected]> Acked-by: Yonghong Song <[email protected]> Link: https://lore.kernel.org/bpf/20211220214528.GA11706@Mem
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions