Message ID | CAHMuVOC1bwuY_X5doyWEZfw2yTb=cB-J5dYK2SnDGzD0=fAbew@mail.gmail.com (mailing list archive) |
---|---|
State | Superseded |
Delegated to: | BPF |
Headers | show |
Series | [bpf] bpftool: Flush tracelog output | expand |
Context | Check | Description |
---|---|---|
bpf/vmtest-bpf-PR | fail | merge-conflict |
netdev/tree_selection | success | Clearly marked for bpf |
netdev/apply | fail | Patch does not apply to bpf |
diff --git a/tools/bpf/bpftool/tracelog.c b/tools/bpf/bpftool/tracelog.c index e80a5c79b38f..b310229abb07 100644 --- a/tools/bpf/bpftool/tracelog.c +++ b/tools/bpf/bpftool/tracelog.c @@ -158,6 +158,7 @@ int do_tracelog(int argc, char **argv) jsonw_string(json_wtr, buff); else printf("%s", buff); + fflush(stdout); } fclose(trace_pipe_fd);