commit | ffa0c1cf59596fba54546ea828305acfcc2cf55e | [log] [tgz] |
---|---|---|
author | Yonghong Song <yhs@fb.com> | Sat Dec 15 22:13:52 2018 -0800 |
committer | Daniel Borkmann <daniel@iogearbox.net> | Tue Dec 18 01:11:59 2018 +0100 |
tree | b30071761afe90e0fbc7779429d3381cb1501b53 | |
parent | 9d5f9f701b1891466fb3dbb1806ad97716f95cc3 [diff] |
bpf: enable cgroup local storage map pretty print with kind_flag Commit 970289fc0a83 ("bpf: add bpffs pretty print for cgroup local storage maps") added bpffs pretty print for cgroup local storage maps. The commit worked for struct without kind_flag set. This patch refactored and made pretty print also work with kind_flag set for the struct. Acked-by: Martin KaFai Lau <kafai@fb.com> Signed-off-by: Yonghong Song <yhs@fb.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>