diff options
author | Hidetoshi Seto <[email protected]> | 2009-12-02 17:26:47 +0900 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2009-12-02 17:32:39 +0100 |
commit | d99ca3b977fc5a93141304f571475c2af9e6c1c5 (patch) | |
tree | 7665ebdafcef46c310055021562e6629f59eafd5 /tools/perf/scripts/python/check-perf-trace.py | |
parent | be8147e68625a1adb111acfd6b98a492be4b74d0 (diff) |
sched, cputime: Cleanups related to task_times()
- Remove if({u,s}t)s because no one call it with NULL now.
- Use cputime_{add,sub}().
- Add ifndef-endif for prev_{u,s}time since they are used
only when !VIRT_CPU_ACCOUNTING.
Signed-off-by: Hidetoshi Seto <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Spencer Candland <[email protected]>
Cc: Americo Wang <[email protected]>
Cc: Oleg Nesterov <[email protected]>
Cc: Balbir Singh <[email protected]>
Cc: Stanislaw Gruszka <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions