Re: oprofile broken by sysfs updates

From: Patrick Mochel (
Date: Wed Jun 11 2003 - 16:23:57 EST

> I only tried reading the diffs, but:

Then maybe you should

a) Read the entire initial thread (which you participated in), esp this

b) Read the comments in the code (from drivers/base/sys.c):

 * sysdev_shutdown - Shut down all system devices.
 * Loop over each class of system devices, and the devices in each
 * of those classes. For each device, we call the shutdown method for
 * each driver registered for the device - the globals, the auxillaries,
 * and the class driver.
 * Note: The list is iterated in reverse order, so that we shut down
 * child devices before we shut down thier parents. The list ordering
 * is guaranteed by virtue of the fact that child devices are registered
 * after their parents.

c) Try using the code and stop being a troll.



To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Sun Jun 15 2003 - 22:00:29 EST