summaryrefslogtreecommitdiffstats
path: root/crypto/seed.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo2019-07-26 20:31:25 +0200
committerArnaldo Carvalho de Melo2019-07-29 14:03:43 +0200
commit0f58163c9d5702efbc242d144fd038e54b4c6ad0 (patch)
treec314f251aea2cfb741d15af01ab789b525aff5f2 /crypto/seed.c
parenttools perf beauty: Fix usbdevfs_ioctl table generator to handle _IOC() (diff)
downloadkernel-qcow2-linux-0f58163c9d5702efbc242d144fd038e54b4c6ad0.tar.gz
kernel-qcow2-linux-0f58163c9d5702efbc242d144fd038e54b4c6ad0.tar.xz
kernel-qcow2-linux-0f58163c9d5702efbc242d144fd038e54b4c6ad0.zip
tools headers UAPI: Sync usbdevice_fs.h with the kernels to get new ioctl
To get the changes in: 6d101f24f1dd ("USB: add usbfs ioctl to retrieve the connection parameters") And address this perf build warning: Warning: Kernel ABI header at 'tools/include/uapi/linux/usbdevice_fs.h' differs from latest version at 'include/uapi/linux/usbdevice_fs.h' diff -u tools/include/uapi/linux/usbdevice_fs.h include/uapi/linux/usbdevice_fs.h Which ends up autogenerating a ioctl_cmd->string table used by 'perf trace': $ tools/perf/trace/beauty/usbdevfs_ioctl.sh > before $ cp include/uapi/linux/usbdevice_fs.h tools/include/uapi/linux/usbdevice_fs.h $ tools/perf/trace/beauty/usbdevfs_ioctl.sh > after $ diff -u before after --- before 2019-07-26 15:26:55.513636844 -0300 +++ after 2019-07-26 15:29:11.650518677 -0300 @@ -23,6 +23,7 @@ [2] = "BULK", [30] = "DROP_PRIVILEGES", [31] = "GET_SPEED", + [32] = "CONNINFO_EX", [3] = "RESETEP", [4] = "SETINTERFACE", [5] = "SETCONFIGURATION", $ Now 'perf trace' ioctl beautifier will translate this new ioctl to a string and at some point will allow filtering the 'ioctl' syscall with something like this in a system wide strace-like sessin: # perf trace -e ioctl/cmd=USBDEVFS_CONNINFO_EX/ Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> 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-tkdfbgzqypwco96b309c0ovd@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'crypto/seed.c')
0 files changed, 0 insertions, 0 deletions