Re: [RFC][PATCH v2 06/11] perf: core, export pmus via sysfs

From: Lin Ming
Date: Tue May 18 2010 - 22:38:47 EST


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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/