diff options
author | Peter Zijlstra <[email protected]> | 2014-01-27 11:54:13 +0100 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2014-01-28 13:08:41 +0100 |
commit | a57beec5d427086cdc8d75fd51164577193fa7f4 (patch) | |
tree | 86bbff9570824031ec4bd42bfd5dd11e4b825a55 /tools/perf/util/trace-event-scripting.c | |
parent | 712e5e34aef449ab680b35c0d9016f59b0a4494c (diff) |
sched: Make sched_class::get_rr_interval() optional
Not all classes implement (or can implement) a useful get_rr_interval()
function, default to a 0 time-slice for them.
This fixes a crash reported by Tommi Rantala.
Reported-by: Tommi Rantala <[email protected]>
Cc: Dave Jones <[email protected]>
Cc: Tommi Rantala <[email protected]>
Signed-off-by: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions