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

From: Greg KH
Date: Tue May 18 2010 - 16:15:04 EST


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?

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/