diff options
author | Peter Zijlstra <[email protected]> | 2009-06-22 13:57:40 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2009-06-23 11:42:45 +0200 |
commit | b84fbc9fb1d943e2c5f4efe52ed0e3c93a4bdb6a (patch) | |
tree | aaa492fd620de2177c6b8e5bb52348b30c7e49c7 /net/lapb/lapb_timer.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 <[email protected]>
Cc: Mike Galbraith <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions