Use new ioctl macros with fixed ioctl direction
authorFrancis Deslauriers <francis.deslauriers@efficios.com>
Tue, 27 Apr 2021 18:26:09 +0000 (14:26 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 28 Apr 2021 21:20:25 +0000 (17:20 -0400)
commitacbe1c12301de76ce9d1dce4a1b488cad64839e7
tree82fac0e165aaf175c39ca61e2f90ea86573e9679
parentb8e2fb80c105c5a8241f7b35744e4a86d7e4125c
Use new ioctl macros with fixed ioctl direction

Update the ioctl commands to follow the changes in this commit:
  commit 8c71721f7a868b575b05e24bc3a3dcc967e6d5d6
  Author: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
  Date:   Tue Apr 20 11:05:19 2021 -0400

      Fix: LTTng-modules ABI ioctl wrong direction

This commit uses the new command first, and if -ENOSYS is returned by
the LTTng kernel tracer it falls back to the old command.

Signed-off-by: Francis Deslauriers <francis.deslauriers@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: I2604ea5902fec3bf574c7a249cb65784685a0ae8
src/common/kernel-ctl/kernel-ctl.c
src/common/kernel-ctl/kernel-ioctl.h
This page took 0.02512 seconds and 4 git commands to generate.