[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 19 Jun 2013, Dave Jones wrote:

> On Thu, Jun 13, 2013 at 03:58:37PM -0400, Vince Weaver wrote:
>  > On Thu, 13 Jun 2013, Tommi Rantala wrote:
>  > 
>  > > Unable to opendir /sys/bus/event_source/devices : Resource temporarily
>  > > unavailable
>  >
>  > Though in the case where /sys/bus/event_source/devices isn't available
>  > trinity will try opening it again each time it tries to do a 
>  > PERF_TYPE_READ_FROM_SYSFS type (1 time in 7).  Not sure if it's
>  > worth rate-limiting that.
> 
> I'm puzzled why I'm seeing opendir() fail with -ENOMEM when there's gigabytes
> of free memory available.  Likewise, getting -EAGAIN seems.. weird.

Is this easy to reproduce?  I haven't seen it locally but then again
I have only been running trinity with -c perf_event_open
I only left the debug message in because I thought it would be unusual
for a quick sysfs traversal to fail.

> init_pmus might be simpler if it was converted to use nftw() too.

I was unaware of the existence of nftw(), I'll work on updating the code
to use it.

Vince
--
To unsubscribe from this list: send the line "unsubscribe trinity" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux SCSI]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux