diff options
author | Chris Wilson <[email protected]> | 2017-12-08 01:22:59 +0000 |
---|---|---|
committer | Chris Wilson <[email protected]> | 2017-12-08 18:48:34 +0000 |
commit | e8a70cab253cf4c54855ffc2b1997e501f03e2a4 (patch) | |
tree | 021a423def6989e1e70e8355f88b9b2db9e1a532 /tools/perf/scripts/python/futex-contention.py | |
parent | 6647852abc1fd74e9c5e0dcf404ea4cb9c929630 (diff) |
drm/i915: Use snprintf to avoid line-break when pretty-printing engines
When printing the execlist ports, we first print the ELSP header then
follow it with the pretty-printed request. Since switching to
drm_printer and show the output via printk, it automatically appends a
newline to each call (unlike the old seq_printf output). To avoid the
unwanted line break, construct the ELSP request header in a temporary
buffer.
Signed-off-by: Chris Wilson <[email protected]>
Cc: Mika Kuoppala <[email protected]>
Reviewed-by: Mika Kuoppala <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions