Add dup probe to lttng module
authorFrancis Giraldeau <francis.giraldeau@usherbrooke.ca>
Wed, 18 May 2011 20:25:15 +0000 (16:25 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 18 May 2011 20:25:15 +0000 (16:25 -0400)
commitac04388fc5abb5239519a4588359b36860c73080
tree54980a9b715c30dabd8098e72631fc61a244656d
parente5b34c668a7d7b8aeab9fa2bdbb31eed4eff7929
Add dup probe to lttng module

This patch provides instrumentation for dup system call. It records the
oldfd and newfd if the operation succeed. This is required to recover in
the trace tre fd that newfd reference to.

Signed-off-by: Francis Giraldeau <francis.giraldeau@usherbrooke.ca>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
probes/fs-trace.c
This page took 0.026371 seconds and 4 git commands to generate.