[dpdk-dev] [PATCH 5/5] add FILE arguement to debug functions

2014-05-16 Thread Thomas Monjalon
2014-05-06 12:52, Burakov, Anatoly: > Hi Stephen, > > > 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 > >

[dpdk-dev] [PATCH 5/5] add FILE arguement to debug functions

2014-05-06 Thread Burakov, Anatoly
Hi Stephen, > 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(

[dpdk-dev] [PATCH 5/5] add FILE arguement to debug functions

2014-05-06 Thread Neil Horman
On Mon, May 05, 2014 at 06:55:31PM -0700, Stephen Hemminger wrote: > On Mon, 5 May 2014 06:53:09 -0400 > Neil Horman wrote: > > > On Sun, May 04, 2014 at 01:17:50PM -0700, Stephen Hemminger wrote: > > > On Sun, 4 May 2014 08:20:54 -0400 > > > Neil Horman wrote: > > > > > > > On Fri, May 02, 201

[dpdk-dev] [PATCH 5/5] add FILE arguement to debug functions

2014-05-05 Thread Stephen Hemminger
On Mon, 5 May 2014 06:53:09 -0400 Neil Horman wrote: > On Sun, May 04, 2014 at 01:17:50PM -0700, Stephen Hemminger wrote: > > On Sun, 4 May 2014 08:20:54 -0400 > > Neil Horman wrote: > > > > > On Fri, May 02, 2014 at 04:42:56PM -0700, Stephen Hemminger wrote: > > > > The DPDK dump functions are

[dpdk-dev] [PATCH 5/5] add FILE arguement to debug functions

2014-05-05 Thread Neil Horman
On Sun, May 04, 2014 at 01:17:50PM -0700, Stephen Hemminger wrote: > On Sun, 4 May 2014 08:20:54 -0400 > Neil Horman wrote: > > > 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 app

[dpdk-dev] [PATCH 5/5] add FILE arguement to debug functions

2014-05-04 Thread Stephen Hemminger
On Sun, 4 May 2014 08:20:54 -0400 Neil Horman wrote: > 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. > > >

[dpdk-dev] [PATCH 5/5] add FILE arguement to debug functions

2014-05-04 Thread Neil Horman
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

[dpdk-dev] [PATCH 5/5] add FILE arguement to debug functions

2014-05-02 Thread Stephen Hemminger
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.