This is a reprise of earlier patch to add timestamp to console messages. Example: # dpdk-testpmd -l 1-4 -n 4 --vdev net_null0 --log-timestamp -- -i EAL: Detected CPU lcores: 16 EAL: Detected NUMA nodes: 1 EAL: Detected static linkage of DPDK EAL: Multi-process socket /var/run/dpdk/rte/mp_socket EAL: Selected IOVA mode 'VA' Interactive-mode selected [ 0.191407] testpmd: create a new mbuf pool <mb_pool_0>: n=171456, size=2176, socket=0 [ 0.191510] testpmd: preferred mempool ops selected: ring_mp_mc
v2 - rebase to current DPDK - make linux log code common to freebsd Stephen Hemminger (2): eal: unify logging code for FreeBsd and Linux eal: add option to put timestamp on console output .../freebsd_gsg/freebsd_eal_parameters.rst | 32 ++++++ doc/guides/linux_gsg/linux_eal_parameters.rst | 5 + lib/eal/common/eal_common_options.c | 5 + lib/eal/common/eal_internal_cfg.h | 1 + lib/eal/common/eal_options.h | 2 + lib/eal/freebsd/eal.c | 6 ++ lib/eal/linux/eal_log.c | 61 ------------ lib/eal/linux/meson.build | 1 - lib/eal/unix/eal_log.c | 97 +++++++++++++++++++ lib/eal/unix/meson.build | 1 + 10 files changed, 149 insertions(+), 62 deletions(-) delete mode 100644 lib/eal/linux/eal_log.c create mode 100644 lib/eal/unix/eal_log.c -- 2.39.2