RE: [PATCH] perf tools: ignore zombie process for user profile

2016-12-14 Thread Liang, Kan
. > Em Wed, Dec 14, 2016 at 06:26:02PM +, Liang, Kan escreveu: > > > On Wed, Dec 14, 2016 at 12:48:05PM -0500, kan.li...@intel.com wrote: > > > > From: Kan Liang Zombie process is dead > > > > process. It is meaningless to profile it. > > > > It's better to ignore it

RE: [PATCH] perf tools: ignore zombie process for user profile

2016-12-14 Thread Liang, Kan
. > Em Wed, Dec 14, 2016 at 06:26:02PM +, Liang, Kan escreveu: > > > On Wed, Dec 14, 2016 at 12:48:05PM -0500, kan.li...@intel.com wrote: > > > > From: Kan Liang Zombie process is dead > > > > process. It is meaningless to profile it. > > > > It's better to ignore it for user profile. > >

Re: [PATCH] perf tools: ignore zombie process for user profile

2016-12-14 Thread a...@kernel.org
Em Wed, Dec 14, 2016 at 06:26:02PM +, Liang, Kan escreveu: > > On Wed, Dec 14, 2016 at 12:48:05PM -0500, kan.li...@intel.com wrote: > > > From: Kan Liang > > > Zombie process is dead process. It is meaningless to profile it. > > > It's better to ignore it for user

Re: [PATCH] perf tools: ignore zombie process for user profile

2016-12-14 Thread a...@kernel.org
Em Wed, Dec 14, 2016 at 06:26:02PM +, Liang, Kan escreveu: > > On Wed, Dec 14, 2016 at 12:48:05PM -0500, kan.li...@intel.com wrote: > > > From: Kan Liang > > > Zombie process is dead process. It is meaningless to profile it. > > > It's better to ignore it for user profile. > > I recently

RE: [PATCH] perf tools: ignore zombie process for user profile

2016-12-14 Thread Liang, Kan
> > On Wed, Dec 14, 2016 at 12:48:05PM -0500, kan.li...@intel.com wrote: > > From: Kan Liang > > > > If user has zombie process, the perf record -u will error out. > > Here is an example. > > $ ./testd & > > [1] 23796 > > $ sudo perf record -e cycles -u kan > > Error:

RE: [PATCH] perf tools: ignore zombie process for user profile

2016-12-14 Thread Liang, Kan
> > On Wed, Dec 14, 2016 at 12:48:05PM -0500, kan.li...@intel.com wrote: > > From: Kan Liang > > > > If user has zombie process, the perf record -u will error out. > > Here is an example. > > $ ./testd & > > [1] 23796 > > $ sudo perf record -e cycles -u kan > > Error: > > The

Re: [PATCH] perf tools: ignore zombie process for user profile

2016-12-14 Thread Jiri Olsa
On Wed, Dec 14, 2016 at 12:48:05PM -0500, kan.li...@intel.com wrote: > From: Kan Liang > > If user has zombie process, the perf record -u will error out. > Here is an example. > $ ./testd & > [1] 23796 > $ sudo perf record -e cycles -u kan > Error: > The

Re: [PATCH] perf tools: ignore zombie process for user profile

2016-12-14 Thread Jiri Olsa
On Wed, Dec 14, 2016 at 12:48:05PM -0500, kan.li...@intel.com wrote: > From: Kan Liang > > If user has zombie process, the perf record -u will error out. > Here is an example. > $ ./testd & > [1] 23796 > $ sudo perf record -e cycles -u kan > Error: > The sys_perf_event_open() syscall

[PATCH] perf tools: ignore zombie process for user profile

2016-12-14 Thread kan . liang
From: Kan Liang If user has zombie process, the perf record -u will error out. Here is an example. $ ./testd & [1] 23796 $ sudo perf record -e cycles -u kan Error: The sys_perf_event_open() syscall returned with 3 (No such process) for event (cycles). /bin/dmesg may

[PATCH] perf tools: ignore zombie process for user profile

2016-12-14 Thread kan . liang
From: Kan Liang If user has zombie process, the perf record -u will error out. Here is an example. $ ./testd & [1] 23796 $ sudo perf record -e cycles -u kan Error: The sys_perf_event_open() syscall returned with 3 (No such process) for event (cycles). /bin/dmesg may provide additional