Hi, Tracking the change where calloc was introduced in the example: https://git.linaro.org/lng/odp.git/commit/7e924cfb0b230795e4f372cdb0d57fb2e1141732
which is linked to this bug: https://bugs.linaro.org/show_bug.cgi?id=856 Basically for using shared memory from ODP you need to initialize ODP, and for that you need to parse the args. I guess the odp_generator was never updated to work the same. /Ciprian On Fri, Apr 17, 2015 at 8:46 AM, Chui-Hui Chiu <cch...@tigers.lsu.edu> wrote: > Hello, > > In the linux-generic version 1.0.2, the example application "odp_packetio" > puts its command line arguments in the space allocated by calloc(), but the > "odp_generator" puts its command line arguments in a block of shared memory. > > What's the reason for treating them differently? > > Thanks, > Chui-hui > > _______________________________________________ > lng-odp mailing list > lng-odp@lists.linaro.org > https://lists.linaro.org/mailman/listinfo/lng-odp > _______________________________________________ lng-odp mailing list lng-odp@lists.linaro.org https://lists.linaro.org/mailman/listinfo/lng-odp