commit | c06b0229579806f5b5e14af64cf9c5dc771445b3 | [log] [tgz] |
---|---|---|
author | Yonghong Song <yhs@fb.com> | Tue Jun 23 16:08:07 2020 -0700 |
committer | Alexei Starovoitov <ast@kernel.org> | Wed Jun 24 18:37:58 2020 -0700 |
tree | eadac4c9a80ace4d56b40d116fdf6ef2fc4d7ad4 | |
parent | 52d87d5f6418ba1b8b449ed5eea1532664896851 [diff] |
bpf: Support 'X' in bpf_seq_printf() helper 'X' tells kernel to print hex with upper case letters. /proc/net/tcp{4,6} seq_file show() used this, and supports it in bpf_seq_printf() helper too. Signed-off-by: Yonghong Song <yhs@fb.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Acked-by: Martin KaFai Lau <kafai@fb.com> Link: https://lore.kernel.org/bpf/20200623230807.3988014-1-yhs@fb.com