diff options
| author | Lorenz Bauer <[email protected]> | 2018-12-03 11:31:23 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2018-12-04 08:18:13 -0800 |
| commit | b5a36b1e1b138285ea0df34bf96c759e1e30fafd (patch) | |
| tree | 979d2a28beaa2dcb3bba77964e7e44630694e8eb /tools/perf/scripts/python | |
| parent | d59dd69d5576d699d7d3f5da0b4738c3a36d0133 (diff) | |
bpf: respect size hint to BPF_PROG_TEST_RUN if present
Use data_size_out as a size hint when copying test output to user space.
ENOSPC is returned if the output buffer is too small.
Callers which so far did not set data_size_out are not affected.
Signed-off-by: Lorenz Bauer <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions