pahole: Improve --contains --recursive a bit
Its not yet correct, misses cases where a top level struct doesn't have
the contained type but some of its substructs have, i.e. right now it
looks if the top level struct has the looked up container type and if it
has, it prints its name and then goes to look at all its members if some
has the looked up container type, recursively.
It should go all the way down, even when a struct doesn't have the
looked up contained type some of its members may have.
So for now its better to use 'pahole -E struct_name | less' and then
search for the type, will be fixed after DevConf.cz 2020 :-)
Signed-off-by: Arnaldo Carvalho de Melo <email@example.com>
1 file changed