]> git.baikalelectronics.ru Git - kernel.git/commit
tools uapi asm-generic: Synchronize ioctls.h
authorArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 19 Nov 2018 20:31:45 +0000 (12:31 -0800)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 19 Nov 2018 20:31:45 +0000 (12:31 -0800)
commit3cbb205c71a6f262b79433af2b1e410ecd35e3f0
tree639f06a00ed0da3f41507af4dce8ae291d65c942
parent7bd98a5123b6d5ad87261ec1a043e0061b823d24
tools uapi asm-generic: Synchronize ioctls.h

To pick up the changes in:

  2f4e21beb18c ("tty/serial_core: add ISO7816 infrastructure")

That is a change that imply a change to be made in tools/perf/trace/beauty/ioctl.c to
make 'perf trace' ioctl syscall argument beautifier to support these new
commands:  TIOCGISO7816 and TIOCSISO7816.

This is not yet done automatically by a script like is done for some
other headers, for instance:

  $ tools/perf/trace/beauty/drm_ioctl.sh | head
  #ifndef DRM_COMMAND_BASE
  #define DRM_COMMAND_BASE                0x40
  #endif
  static const char *drm_ioctl_cmds[] = {
[0x00] = "VERSION",
[0x01] = "GET_UNIQUE",
[0x02] = "GET_MAGIC",
[0x03] = "IRQ_BUSID",
[0x04] = "GET_MAP",
[0x05] = "GET_CLIENT",
  $

So we will need to change tools/perf/trace/beauty/ioctl.c in a follow up
patch until we switch to a generator script.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Nicolas Ferre <nicolas.ferre@microchip.com>
Cc: Wang Nan <wangnan0@huawei.com>
Link: https://lkml.kernel.org/n/tip-zin76fe6iykqsilvo6u47f9o@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/include/uapi/asm-generic/ioctls.h