aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorOded Gabbay <[email protected]>2014-12-29 14:20:05 +0200
committerOded Gabbay <[email protected]>2015-01-06 19:44:36 +0200
commit76baee6c733bfef30fcf86cbd121e336b839e408 (patch)
tree1ba6313aa81b5c69ed5591e0cb8598c2fd69434b /tools/perf/util/trace-event-scripting.c
parentb81c55db1053805866a242cd0bfbfb0c60c499b3 (diff)
drm/amdkfd: rewrite kfd_ioctl() according to drm_ioctl()
This patch changes kfd_ioctl() to be very similar to drm_ioctl(). The patch defines an array of amdkfd_ioctls, which maps IOCTL definition to the ioctl function. The kfd_ioctl() uses that mapping to call the appropriate ioctl function, through a function pointer. This patch also declares a new typedef for the ioctl function pointer. v2: Renamed KFD_COMMAND_(START|END) to AMDKFD_... Signed-off-by: Oded Gabbay <[email protected]> Acked-by: Christian König <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions