syscalls: Make the cmd field of fcntl an enum
authorGeneviève Bastien <gbastien+lttng@versatic.net>
Wed, 11 Mar 2020 16:38:51 +0000 (12:38 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 23 Mar 2020 20:00:58 +0000 (16:00 -0400)
commitc1c07d681a68ba37da066d6f0456129957073169
tree467d540926eae5b4356bfa18c897699cb31c4ca6
parentc8dfb72431505d5f01a6f090f3f7427d9ca6fe94
syscalls: Make the cmd field of fcntl an enum

The fcntl system call has a cmd parameter which is one of multiple
values defined in the linux/fcntl.h file. This field is now an
enumeration of the various possible values.

Here's an example babeltrace output of the fcntl system call:

[...] syscall_entry_fcntl: { cpu_id = 3 }, { fd = 35,
cmd = ( "F_GETFL" : container = 3 ), arg = 140388746332169 }

Change-Id: I06f511d5dba986aaf01b50057cbe6eac789bbea7
Signed-off-by: Geneviève Bastien <gbastien+lttng@versatic.net>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
instrumentation/syscalls/headers/syscalls_integers_override.h
This page took 0.025689 seconds and 5 git commands to generate.