Re: [Libcg-devel] how to use language bindings in python

2010-08-17 Thread Balbir Singh
* Jason Baron [2010-08-17 11:45:59]: > On Tue, Aug 17, 2010 at 08:31:35PM +0530, Balbir Singh wrote: > > * Jason Baron [2010-08-17 10:37:25]: > > > > > On Sat, Aug 14, 2010 at 10:38:27AM +0530, Balbir Singh wrote: > > > > >> I have the python wrapper working to a large degree > > > > >> > > > >

Re: [Libcg-devel] how to use language bindings in python

2010-08-17 Thread Balbir Singh
* Jason Baron [2010-08-17 16:20:25]: > On Tue, Aug 17, 2010 at 09:42:47PM +0530, Balbir Singh wrote: > > * Jason Baron [2010-08-17 11:45:59]: > > > > > On Tue, Aug 17, 2010 at 08:31:35PM +0530, Balbir Singh wrote: > > > > * Jason Baron [2010-08-17 10:37:25]: > > > > > > > > > On Sat, Aug 14,

Re: [Libcg-devel] how to use language bindings in python

2010-08-17 Thread Jason Baron
On Tue, Aug 17, 2010 at 09:42:47PM +0530, Balbir Singh wrote: > * Jason Baron [2010-08-17 11:45:59]: > > > On Tue, Aug 17, 2010 at 08:31:35PM +0530, Balbir Singh wrote: > > > * Jason Baron [2010-08-17 10:37:25]: > > > > > > > On Sat, Aug 14, 2010 at 10:38:27AM +0530, Balbir Singh wrote: > > > >

Re: [Libcg-devel] how to use language bindings in python

2010-08-17 Thread David Malcolm
On Tue, 2010-08-17 at 11:45 -0400, Jason Baron wrote: > On Tue, Aug 17, 2010 at 08:31:35PM +0530, Balbir Singh wrote: > > * Jason Baron [2010-08-17 10:37:25]: > > > > > On Sat, Aug 14, 2010 at 10:38:27AM +0530, Balbir Singh wrote: > > > > >> I have the python wrapper working to a large degree > >

Re: [Libcg-devel] how to use language bindings in python

2010-08-17 Thread Balbir Singh
* David Malcolm [2010-08-17 12:05:27]: > On Tue, 2010-08-17 at 11:45 -0400, Jason Baron wrote: > > On Tue, Aug 17, 2010 at 08:31:35PM +0530, Balbir Singh wrote: > > > * Jason Baron [2010-08-17 10:37:25]: > > > > > > > On Sat, Aug 14, 2010 at 10:38:27AM +0530, Balbir Singh wrote: > > > > > >> I

Re: [Libcg-devel] how to use language bindings in python

2010-08-17 Thread Balbir Singh
* Jason Baron [2010-08-17 11:45:59]: > On Tue, Aug 17, 2010 at 08:31:35PM +0530, Balbir Singh wrote: > > * Jason Baron [2010-08-17 10:37:25]: > > > > > On Sat, Aug 14, 2010 at 10:38:27AM +0530, Balbir Singh wrote: > > > > >> I have the python wrapper working to a large degree > > > > >> > > > >

Re: [Libcg-devel] how to use language bindings in python

2010-08-17 Thread Balbir Singh
* Jason Baron [2010-08-17 10:37:25]: > On Sat, Aug 14, 2010 at 10:38:27AM +0530, Balbir Singh wrote: > > >> I have the python wrapper working to a large degree > > >> > > > > > > cool! > > > > > >> 1. Please provide input if it works at your end > > > > > > hmmm...I'm getting a Segmentation fault

Re: [Libcg-devel] how to use language bindings in python

2010-08-17 Thread Jason Baron
On Sat, Aug 14, 2010 at 10:38:27AM +0530, Balbir Singh wrote: > >> I have the python wrapper working to a large degree > >> > > > > cool! > > > >> 1. Please provide input if it works at your end > > > > hmmm...I'm getting a Segmentation fault, which is coming from the inner > > read stats loop. If

Re: [Libcg-devel] how to use language bindings in python

2010-08-13 Thread Balbir Singh
>> I have the python wrapper working to a large degree >> > > cool! > >> 1. Please provide input if it works at your end > > hmmm...I'm getting a Segmentation fault, which is coming from the inner > read stats loop. If I comment out the inner loop, I get a correct > listing of the directories. > >

Re: [Libcg-devel] how to use language bindings in python

2010-08-13 Thread Jason Baron
On Fri, Aug 13, 2010 at 04:41:51PM +0530, Balbir Singh wrote: > On Fri, Aug 13, 2010 at 12:43 PM, Balbir Singh > wrote: > > On Wed, Aug 11, 2010 at 8:25 AM, Dhaval Giani > > wrote: > >> > >> On Tue, Aug 10, 2010 at 9:38 PM, Jason Baron wrote: > >> > Hi, > >> > > >> > I was playing around with t

Re: [Libcg-devel] how to use language bindings in python

2010-08-13 Thread Balbir Singh
On Fri, Aug 13, 2010 at 12:43 PM, Balbir Singh wrote: > On Wed, Aug 11, 2010 at 8:25 AM, Dhaval Giani wrote: >> >> On Tue, Aug 10, 2010 at 9:38 PM, Jason Baron wrote: >> > Hi, >> > >> > I was playing around with the language bindings mentioned in: Subject: >> > [Libcg-devel] [hack] Language bind

Re: [Libcg-devel] how to use language bindings in python

2010-08-13 Thread Balbir Singh
On Wed, Aug 11, 2010 at 8:25 AM, Dhaval Giani wrote: > > On Tue, Aug 10, 2010 at 9:38 PM, Jason Baron wrote: > > Hi, > > > > I was playing around with the language bindings mentioned in: Subject: > > [Libcg-devel] [hack] Language bindings for libcgroup > > > > I was just trying to figure out how

Re: [Libcg-devel] how to use language bindings in python

2010-08-10 Thread Dhaval Giani
On Tue, Aug 10, 2010 at 9:38 PM, Jason Baron wrote: > Hi, > > I was playing around with the language bindings mentioned in: Subject: > [Libcg-devel] [hack] Language bindings for libcgroup > > I was just trying to figure out how to call the > "cgroup_read_stats_begin()" function from python. The th

[Libcg-devel] how to use language bindings in python

2010-08-10 Thread Jason Baron
Hi, I was playing around with the language bindings mentioned in: Subject: [Libcg-devel] [hack] Language bindings for libcgroup I was just trying to figure out how to call the "cgroup_read_stats_begin()" function from python. The third argument takes a 'void **'. How can I call this function in