Re: Issue perf attaching to processes creating many short-live threads
William Cohen <[email protected]>
| Newsgroups | gmane.linux.oprofile |
|---|---|
| Message-ID | <562A8A08.9010101__2538.82555193758$1445628465$gmane$org@redhat.com> |
On 10/23/2015 02:56 PM, David Ahern wrote: > On 10/23/15 12:52 PM, William Cohen wrote: >> Earlier this month Rei Odeira found that the oprofile tool operf would >> have problems attaching and monitoring a process that created many >> very short-lived threads. It looks like the kernel's perf tool also >> has issues when attempting to attach and monitor a process that is >> creating many short-lived threads. > > known a problem. If this is the problem I think it is you will find that strace shows perf stuck walking /proc directory. > > David > Hi David, Is the following thread related to the problem? [PATCH 1/1] perf,tools: add time out to force stop endless mmap processing" http://lkml.iu.edu/hypermail/linux/kernel/1506.1/02251.html Or is there some other thread about the problem? -Will ------------------------------------------------------------------------------