[dpdk-dev] [PATCH v7 2/2] eal/linux: Add support for handling built-in kernel modules

Thomas Monjalon thomas.monjalon at 6wind.com
Tue Feb 9 15:56:45 CET 2016


2016-01-28 14:13, krytarowski at caviumnetworks.com:
> From: Kamil Rytarowski <Kamil.Rytarowski at caviumnetworks.com>
> 
> 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 by the script.
> 
> 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 at caviumnetworks.com>
> Acked-by: David Marchand <david.marchand at 6wind.com>
> Acked-by: Yuanhan Liu <yuanhan.liu at linux.intel.com>

An include is missing:
#include <sys/stat.h>
After adding this line,
Series applied, thanks



More information about the dev mailing list