"...0d0cea2424ae97b27447dc64a7dbfae83c036c45b403392f0e8ba.png" did not exist on "bed9ff165960921303a100228585f2d1691b42eb"
msm: camera_v3: Improves logging infrastructure
Defines new macros CAM_INFO_RATE_LIMIT_CUSTOM CAM_ERR_RATE_LIMIT_CUSTOM These macros ratelimits logs with provided interval and burst. Function cam_sync_get_obj_ref is called from CAM_SYNC_SIGNAL ioctl. If userspace frequently calls this function with invalid sync id, then error log can cause excessive loging. Ratelimit log to 5 times in 1 second. Change-Id: Id362f7b2025b7d6be88b054b0bacb4134b6a5952 Signed-off-by:Trishansh Bhardwaj <tbhardwa@codeaurora.org> Signed-off-by:
Raja Mallik <rmallik@codeaurora.org>
Loading
Please register or sign in to comment