aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/SchedGui.py
diff options
context:
space:
mode:
authorJiri Slaby <[email protected]>2020-10-29 12:32:11 +0100
committerGreg Kroah-Hartman <[email protected]>2020-11-04 16:43:38 +0100
commitfe6416e126cc17c0454c9c32d06b81a4e58ed8b7 (patch)
tree0ee04a96a3859ce1cd261264f0922087e9f7c96e /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/SchedGui.py
parente27979dace0438fabc0a8e882356d20f532eb1e3 (diff)
vt: keyboard, extract vt_kdgkbent and vt_kdskbent
Split vt_do_kdsk_ioctl into three functions: * getter (KDGKBENT/vt_kdgkbent) * setter (KDSKBENT/vt_kdskbent) * switch-case helper (vt_do_kdsk_ioctl) This eliminates the need of ugly one-letter macros as we use parameters now: * i aka tmp.kb_index -> idx * s aka tmp.kb_table -> map * v aka tmp.kb_value -> val Signed-off-by: Jiri Slaby <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/SchedGui.py')
0 files changed, 0 insertions, 0 deletions