aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-perl.c
diff options
context:
space:
mode:
authorDaniel Vetter <[email protected]>2010-02-19 11:51:58 +0100
committerEric Anholt <[email protected]>2010-02-26 13:23:21 -0800
commitae3db24aab398fb5f985696c12362eb12ef65812 (patch)
tree6c8c552805855cc42ec9d18773dc026424a0fa9f /tools/perf/util/scripting-engines/trace-event-perl.c
parent4a87b8ca2185199c5d1b37b570efffd2e46fe813 (diff)
drm/i915: extract fence stealing code
The spaghetti logic in there tripped up my brain's code parser for a few secs. Prevent this from happening again by extracting the fence stealing code into a seperate functions. IMHO this slightly clears up the code flow. v2: Beautified according to ickle's comments. v3: ickle forgot to flush his comment queue ... Now there's also a we-are-paranoid BUG_ON in there. v4: I've forgotten to switch on my brain when doing v3. Now the BUG_ON actually checks something useful. v5: Clean up a stale comment as noted by Eric Anholt. Signed-off-by: Daniel Vetter <[email protected]> Reviewed-by: Chris Wilson <[email protected]> Signed-off-by: Eric Anholt <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions