Re: [sheepdog] [PATCH v2 1/4] lib, sheep: exclude stuff for tracing when it is not enabled

2013-12-17 Thread Liu Yuan
On Wed, Dec 18, 2013 at 02:49:35PM +0900, Hitoshi Mitake wrote: > At Wed, 18 Dec 2013 13:35:21 +0800, > Liu Yuan wrote: > > > > On Wed, Dec 18, 2013 at 01:13:15PM +0900, Hitoshi Mitake wrote: > > > At Wed, 18 Dec 2013 11:36:41 +0800, > > > Liu Yuan wrote: > > > > > > > > On Tue, Dec 17, 2013 at 1

Re: [sheepdog] [PATCH v2 1/4] lib, sheep: exclude stuff for tracing when it is not enabled

2013-12-17 Thread Hitoshi Mitake
At Wed, 18 Dec 2013 13:35:21 +0800, Liu Yuan wrote: > > On Wed, Dec 18, 2013 at 01:13:15PM +0900, Hitoshi Mitake wrote: > > At Wed, 18 Dec 2013 11:36:41 +0800, > > Liu Yuan wrote: > > > > > > On Tue, Dec 17, 2013 at 11:42:53PM +0900, Hitoshi Mitake wrote: > > > > From: Hitoshi Mitake > > > > >

Re: [sheepdog] [PATCH v2 1/4] lib, sheep: exclude stuff for tracing when it is not enabled

2013-12-17 Thread Liu Yuan
On Wed, Dec 18, 2013 at 01:35:21PM +0800, Liu Yuan wrote: > On Wed, Dec 18, 2013 at 01:13:15PM +0900, Hitoshi Mitake wrote: > > At Wed, 18 Dec 2013 11:36:41 +0800, > > Liu Yuan wrote: > > > > > > On Tue, Dec 17, 2013 at 11:42:53PM +0900, Hitoshi Mitake wrote: > > > > From: Hitoshi Mitake > > > >

Re: [sheepdog] [PATCH v2 1/4] lib, sheep: exclude stuff for tracing when it is not enabled

2013-12-17 Thread Liu Yuan
On Wed, Dec 18, 2013 at 01:13:15PM +0900, Hitoshi Mitake wrote: > At Wed, 18 Dec 2013 11:36:41 +0800, > Liu Yuan wrote: > > > > On Tue, Dec 17, 2013 at 11:42:53PM +0900, Hitoshi Mitake wrote: > > > From: Hitoshi Mitake > > > > > > The current build process of sheepdog compiles stuff for tracing

Re: [sheepdog] [PATCH v2 1/4] lib, sheep: exclude stuff for tracing when it is not enabled

2013-12-17 Thread Hitoshi Mitake
At Wed, 18 Dec 2013 11:36:41 +0800, Liu Yuan wrote: > > On Tue, Dec 17, 2013 at 11:42:53PM +0900, Hitoshi Mitake wrote: > > From: Hitoshi Mitake > > > > The current build process of sheepdog compiles stuff for tracing even > > if tracing is disabled. Basically they are not harmful but causes > >

Re: [sheepdog] [PATCH v2 1/4] lib, sheep: exclude stuff for tracing when it is not enabled

2013-12-17 Thread Liu Yuan
On Tue, Dec 17, 2013 at 11:42:53PM +0900, Hitoshi Mitake wrote: > From: Hitoshi Mitake > > The current build process of sheepdog compiles stuff for tracing even > if tracing is disabled. Basically they are not harmful but causes > memory consumption (tid_map), we should exlucde them when tracing

[sheepdog] [PATCH v2 1/4] lib, sheep: exclude stuff for tracing when it is not enabled

2013-12-17 Thread Hitoshi Mitake
From: Hitoshi Mitake The current build process of sheepdog compiles stuff for tracing even if tracing is disabled. Basically they are not harmful but causes memory consumption (tid_map), we should exlucde them when tracing is disabled. In addition, this patch adds a new mutex tid_map_lock for pr