diff options
author | Martin KaFai Lau <kafai@fb.com> | 2019-03-18 10:37:13 -0700 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2019-03-20 18:24:35 -0700 |
commit | cba368c1f01c27ed62fca7a853531845d263bb01 (patch) | |
tree | b1e5d98d11f78bdb37b2746c2b74fae29d1c4f83 /kernel/irq/timings.c | |
parent | f01a7dbe98ae4265023fa5d3af0f076f0b18a647 (diff) |
bpf: Only print ref_obj_id for refcounted reg
Naresh reported that test_align fails because of the mismatch at the
verbose printout of the register states. The reason is due to the newly
added ref_obj_id.
ref_obj_id is only useful for refcounted reg. Thus, this patch fixes it
by only printing ref_obj_id for refcounted reg. While at it, it also uses
comma instead of space to separate between "id" and "ref_obj_id".
Fixes: 1b986589680a ("bpf: Fix bpf_tcp_sock and bpf_sk_fullsock issue related to bpf_sk_release")
Reported-by: Naresh Kamboju <naresh.kamboju@linaro.org>
Signed-off-by: Martin KaFai Lau <kafai@fb.com>
Acked-by: Andrii Nakryiko <andriin@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'kernel/irq/timings.c')
0 files changed, 0 insertions, 0 deletions