On Fri, May 02, 2014 at 04:42:56PM -0700, Stephen Hemminger wrote: > The DPDK dump functions are useful for remote debugging of an > applications. But when application runs as a daemon, stdout > is typically routed to /dev/null. > > Instead change all these functions to take a stdio FILE * handle > instead. An application can then use open_memstream() to capture > the output. > > Signed-off-by: Stephen Hemminger <stephen at networkplumber.org> > Why not convert these to rte_log calls? Seems like we already have the infrastrucutre here, we just need to use it. Neil
- [dpdk-dev] [PATCH 0/5] Various patches to 1.6.0r2 Stephen Hemminger
- [dpdk-dev] [PATCH 1/5] spelling fixes Stephen Hemminger
- [dpdk-dev] [PATCH 2/5] dont inline string functions Stephen Hemminger
- [dpdk-dev] [PATCH 3/5] mempool: add walk iterator Stephen Hemminger
- [dpdk-dev] [PATCH 3/5] mempool: add walk iterat... Olivier MATZ
- [dpdk-dev] [PATCH 4/5] memzone: add iterator functi... Stephen Hemminger
- [dpdk-dev] [PATCH 4/5] memzone: add iterator fu... Burakov, Anatoly
- [dpdk-dev] [PATCH 4/5] memzone: add iterato... Stephen Hemminger
- [dpdk-dev] [PATCH 4/5] memzone: add iterator fu... Olivier MATZ
- [dpdk-dev] [PATCH 5/5] add FILE arguement to debug ... Stephen Hemminger
- [dpdk-dev] [PATCH 5/5] add FILE arguement to de... Neil Horman
- [dpdk-dev] [PATCH 5/5] add FILE arguement t... Stephen Hemminger
- [dpdk-dev] [PATCH 5/5] add FILE argueme... Neil Horman
- [dpdk-dev] [PATCH 5/5] add FILE ar... Stephen Hemminger
- [dpdk-dev] [PATCH 5/5] add FIL... Neil Horman
- [dpdk-dev] [PATCH 5/5] add FILE arguement to de... Burakov, Anatoly
- [dpdk-dev] [PATCH 5/5] add FILE arguement t... Thomas Monjalon
- [dpdk-dev] [PATCH 0/5] Various patches to 1.6.0r2 Thomas Monjalon