bpf: convert 'c'/'b' to bpf_type at the very end
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sat, 9 Nov 2019 11:32:44 +0000 (12:32 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 11 Nov 2019 14:13:56 +0000 (15:13 +0100)
commit8ad08622d6f818f65e56b1e588221a4d546ab9bb
treea0c4b447d5869b884b92eb39f44fb2ac57452f6e
parent7973f564687f7e6dc5bcfee09aec3cb19ed34f1d
bpf: convert 'c'/'b' to bpf_type at the very end

This makes the code a bit longer, but easier to read I think, because
the cgroup v1 and v2 code paths are more similar. And whent he type is
a char, any backtrace is easier to interpret.
src/core/bpf-devices.c