hw/misc/led: Emit a trace event when LED intensity has changed
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Sat, 20 Jun 2020 16:47:17 +0000 (18:47 +0200)
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>
Mon, 26 Oct 2020 12:44:58 +0000 (13:44 +0100)
commit4aef43991afa70c3cb314881fd4bf0f3e1f8b41b
tree30d436639c41e87e45a81c3647eef409142e3a7e
parentddb67f6402b8096f70ca68e3cffaddfd588b384d
hw/misc/led: Emit a trace event when LED intensity has changed

Track the LED intensity, and emit a trace event when it changes.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Luc Michel <luc.michel@greensocs.com>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20200912134041.946260-4-f4bug@amsat.org>
hw/misc/led.c
hw/misc/trace-events