diff options
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | 2009-06-22 07:57:40 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-06-23 05:42:45 -0400 |
commit | b84fbc9fb1d943e2c5f4efe52ed0e3c93a4bdb6a (patch) | |
tree | aaa492fd620de2177c6b8e5bb52348b30c7e49c7 /scripts/binoffset.c | |
parent | f29ac756a40d0f1bb07d682ea521e7b666ff06d5 (diff) |
perf_counter: Push inherit into perf_counter_alloc()
Teach perf_counter_alloc() about inheritance so that we can
optimize the inherit path in the next patch.
Remove the child_counter->atrr.inherit = 1 line because the
only way to get there is if parent_counter->attr.inherit == 1
and we copy the attrs.
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'scripts/binoffset.c')
0 files changed, 0 insertions, 0 deletions