aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-perl.c
diff options
context:
space:
mode:
authorEric W. Biederman <[email protected]>2010-09-14 11:38:36 -0700
committerGreg Kroah-Hartman <[email protected]>2010-10-22 10:16:43 -0700
commitc66fdab64fd791bdd49fed4f5785643251ddf586 (patch)
tree2d75b8ce0d1566f173511fc439b6f096bf30d9ca /tools/perf/util/scripting-engines/trace-event-perl.c
parent91960a46c658b719c03fba80f1c60a96393bbcfd (diff)
uio: Statically allocate uio_class and use class .dev_attrs.
Instead of adding uio class attributes manually after the uio device has been created and we have sent a uevent to userspace, use the class attribute mechanism. This removes races and makes the code simpler. At the same time don't bother to dynamically allocate a struct class for uio, just declare one statically. Less code is needed and it is easier to set the class parameters.tune the class Signed-off-by: Eric W. Biederman <[email protected]> Reviewed-by: Thomas Gleixner <[email protected]> Signed-off-by: Hans J. Koch <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions