diff options
author | Peter Zijlstra <[email protected]> | 2015-06-11 14:46:38 +0200 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2015-06-19 00:25:26 +0200 |
commit | dbc7f069b93a249340e974d6e8f55656280d8701 (patch) | |
tree | ce9c0ee808216725c2a301ccb0a9bee052f9e7f5 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | e3fca9e7cbfb72694a21c886fcdf9f059cfded9c (diff) |
sched: Use replace normalize_task() with __sched_setscheduler()
Reduce duplicate logic; normalize_task() is a simplified version of
__sched_setscheduler(). Parametrize the difference and collapse.
This reduces the amount of check_class_changed() sites.
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions