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:33:50 +0000 (17:33 -0400)
commitc7a7f1e8e5f64fb31f1a1fe45ec7bd4b81af2fb4
tree82fac0e165aaf175c39ca61e2f90ea86573e9679
parent2d6bae7ed336ffdda5e9e7f94495f5ef43238847
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.026276 seconds and 4 git commands to generate.