eal/linux: support built-in kernel modules
authorKamil Rytarowski <kamil.rytarowski@caviumnetworks.com>
Thu, 28 Jan 2016 13:13:54 +0000 (14:13 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 9 Feb 2016 15:03:46 +0000 (16:03 +0100)
Currently rte_eal_check_module() detects Linux kernel modules via reading
/proc/modules. Built-in ones aren't listed there and therefore they are not
being found.

Add support for checking built-in modules with parsing the sysfs files

This commit obsoletes the /proc/modules parsing approach.

Signed-off-by: Kamil Rytarowski <kamil.rytarowski@caviumnetworks.com>
Acked-by: David Marchand <david.marchand@6wind.com>
Acked-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>

No differences found