[dpdk-dev] [PATCHv2 1/4] pmdinfogen: Add buildtools and pmdinfogen utility

2016-05-19 Thread Panu Matilainen
On 05/19/2016 12:08 AM, Neil Horman wrote: [...] > + if (strcmp(secname, ".modinfo") == 0) { > + if (nobits) > + fprintf(stderr, "%s has NOBITS .modinfo\n", > filename); > + info->modinfo = (void *)hdr +

[dpdk-dev] [PATCHv2 1/4] pmdinfogen: Add buildtools and pmdinfogen utility

2016-05-19 Thread Neil Horman
On Thu, May 19, 2016 at 10:51:19AM +0300, Panu Matilainen wrote: > On 05/19/2016 12:08 AM, Neil Horman wrote: > [...] > > + if (strcmp(secname, ".modinfo") == 0) { > > + if (nobits) > > + fprintf(stderr, "%s has NOBITS .modinfo\n", > >

[dpdk-dev] [PATCHv2 1/4] pmdinfogen: Add buildtools and pmdinfogen utility

2016-05-18 Thread Neil Horman
pmdinfogen is a tool used to parse object files and build json strings for use in later determining hardware support in a dso or application binary. pmdinfo looks for the non-exported symbol names this_pmd_name and this_pmd_tbl (where n is a integer counter). It records the name of each of