OSDN Git Service

tools perf beauty: Fix usbdevfs_ioctl table generator to handle _IOC()
authorArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 26 Jul 2019 18:29:56 +0000 (15:29 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 29 Jul 2019 12:03:42 +0000 (09:03 -0300)
commit7ee526152db7a75d7b8713346dac76ffc3662b29
tree5adc49ea8a013bf1905a5edd9caedd358fc6e35c
parent95dc663aa6382fec92674e748682cefeeb2bfc22
tools perf beauty: Fix usbdevfs_ioctl table generator to handle _IOC()

In addition to _IOW() and _IOR(), to handle this case:

  #define USBDEVFS_CONNINFO_EX(len)  _IOC(_IOC_READ, 'U', 32, len)

That will happen in the next sync of this header file.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Luis Cláudio Gonçalves <lclaudio@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: https://lkml.kernel.org/n/tip-3br5e4t64e4lp0goo84che3s@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/trace/beauty/usbdevfs_ioctl.sh