lkml.org 
[lkml]   [2010]   [May]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [RFC][PATCH v2 06/11] perf: core, export pmus via sysfs
From
Date
On Wed, 2010-05-19 at 04:07 +0800, Greg KH wrote:
> On Wed, May 19, 2010 at 01:46:42AM +0000, Lin Ming wrote:
> > +struct kobj_type event_ktype = {
> > + .sysfs_ops = &event_sysfs_ops,
> > +};
>
> No release function? Hm, are you setting yourself up to be publically
> made fun of? You have read the kobject documentation about this, right?
> Have you looked at the kernel logs for when you try to free this object?

Ah, will fix this "fun".

>
> thanks,
>
> greg k-h



\
 
 \ /
  Last update: 2010-05-19 04:41    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site