aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorLiu Pan <[email protected]>2023-03-20 11:07:20 +0800
committerAndrii Nakryiko <[email protected]>2023-03-20 11:59:45 -0700
commit01dc26c980b0a92d9ba94c28652b2675968727b6 (patch)
tree7388951da70b69cc950d92679cc7667594784456 /tools/perf/scripts/python
parentbb4a6a9237293346cf1b3b7bc4ff4dfc1977a103 (diff)
libbpf: Explicitly call write to append content to file
Write data to fd by calling "vdprintf", in most implementations of the standard library, the data is finally written by the writev syscall. But "uprobe_events/kprobe_events" does not allow segmented writes, so switch the "append_to_file" function to explicit write() call. Signed-off-by: Liu Pan <[email protected]> Signed-off-by: Andrii Nakryiko <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions