aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorPaul Turner <[email protected]>2010-12-15 19:10:17 -0800
committerIngo Molnar <[email protected]>2010-12-19 16:36:22 +0100
commit43365bd7ff37979d2afdccbe953299ed64a4649b (patch)
treeb90aa8813d0f92cae88bc26604e48dea0ee9f87d /tools/perf/util/trace-event-scripting.c
parentca680888d5d0d03862ec311a83c6a1c7a1e00a01 (diff)
sched: Move periodic share updates to entity_tick()
Long running entities that do not block (dequeue) require periodic updates to maintain accurate share values. (Note: group entities with several threads are quite likely to be non-blocking in many circumstances). By virtue of being long-running however, we will see entity ticks (otherwise the required update occurs in dequeue/put and we are done). Thus we can move the detection (and associated work) for these updates into the periodic path. This restores the 'atomicity' of update_curr() with respect to accounting. Signed-off-by: Paul Turner <[email protected]> Signed-off-by: Peter Zijlstra <[email protected]> LKML-Reference: <[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