diff options
author | Dmitry Osipenko <[email protected]> | 2020-06-29 06:18:41 +0300 |
---|---|---|
committer | Thierry Reding <[email protected]> | 2020-07-17 16:06:14 +0200 |
commit | 35681862808472a0a4b9a8817ae2789c0b5b3edc (patch) | |
tree | 0d864df6f6455eeb460cd4c65939fe5a0019545d /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | fd323e9ef0a19112c0c85b85afc4848c0518174b (diff) |
gpu: host1x: debug: Fix multiple channels emitting messages simultaneously
Once channel's job is hung, it dumps the channel's state into KMSG before
tearing down the offending job. If multiple channels hang at once, then
they dump messages simultaneously, making the debug info unreadable, and
thus, useless. This patch adds mutex which allows only one channel to emit
debug messages at a time.
Signed-off-by: Dmitry Osipenko <[email protected]>
Signed-off-by: Thierry Reding <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions