aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorHans Verkuil <[email protected]>2018-07-10 04:00:53 -0400
committerMauro Carvalho Chehab <[email protected]>2018-08-31 11:13:09 -0400
commit5f611d74c2bd89296aa045609df0e5309ff7ab41 (patch)
treea0cbd5fb28148dff19e8616a7c7e3d8ce79ab373 /tools/perf/scripts/python/syscall-counts-by-pid.py
parentc41e9cff704a06b8cbd9eeea0fdec54fb6d13825 (diff)
media: v4l2-ctrls: add v4l2_ctrl_request_hdl_find/put/ctrl_find functions
If a driver needs to find/inspect the controls set in a request then it can use these functions. E.g. to check if a required control is set in a request use this in the req_validate() implementation: int res = -EINVAL; hdl = v4l2_ctrl_request_hdl_find(req, parent_hdl); if (hdl) { if (v4l2_ctrl_request_hdl_ctrl_find(hdl, ctrl_id)) res = 0; v4l2_ctrl_request_hdl_put(hdl); } return res; Signed-off-by: Hans Verkuil <[email protected]> Reviewed-by: Mauro Carvalho Chehab <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions