summaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorEzequiel Garcia <ezequiel@collabora.com>2020-11-04 20:43:11 +0300
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-11-16 12:31:16 +0300
commitb2d3bef1aa7858b2ae5e0d01adb214121ba00b9f (patch)
tree1fbdb512350bdaed497ba1938f58dfef76886ea8 /include/linux/debugobjects.h
parent8297ae5c29fc715d1da2e057852053dd900c99a6 (diff)
downloadlinux-b2d3bef1aa7858b2ae5e0d01adb214121ba00b9f.tar.xz
media: coda: Add a V4L2 user for control error macroblocks count
To avoid potentially overflowing the kernel logs in the case of corrupted streams, this commit replaces an error message with a per-stream counter to be read through a driver-specific control. Applications can read the per-stream accumulated error macroblocks count. The old error message is replaced by a rate-limited debug message. Signed-off-by: Ezequiel Garcia <ezequiel@collabora.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions