diff options
| author | Kuniyuki Iwashima <[email protected]> | 2021-08-14 10:57:16 +0900 |
|---|---|---|
| committer | Andrii Nakryiko <[email protected]> | 2021-08-15 00:13:33 -0700 |
| commit | 3478cfcfcddff0f3aad82891be2992e51c4f7936 (patch) | |
| tree | ff61e1fb09f3bda022c3e7034f8ca32413f14ab8 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 2c860a43dd77f969bb959336a2f743d7103a8f63 (diff) | |
bpf: Support "%c" in bpf_bprintf_prepare().
/proc/net/unix uses "%c" to print a single-byte character to escape '\0' in
the name of the abstract UNIX domain socket. The following selftest uses
it, so this patch adds support for "%c". Note that it does not support
wide character ("%lc" and "%llc") for simplicity.
Signed-off-by: Kuniyuki Iwashima <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Acked-by: Yonghong Song <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions