kretprobes: rename "return" to "exit"
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 1 Apr 2021 20:10:09 +0000 (16:10 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 6 Apr 2021 17:59:22 +0000 (13:59 -0400)
commit1b6cc48aa0140ebcd9492a36df0e2d8b93f2f0cf
tree6aeba2d5963888b84334ee00ed631a42d764737a
parente97dc605fd2e9cc7245c563ac88fe7f6858aaa54
kretprobes: rename "return" to "exit"

The kretprobes instrumentation emits <func>_entry and <func>_return.
However, pairing "entry" and "return" is not semantically right. The
term "entry" should be paired with "exit" (similarly to system call
intrumentation), since "return" should be paired with "call".

If we look at what is actually instrumented by kretprobes, we indeed
instrument the entry and exit points of a function.

Therefore, change the "<func>_return" event for "<func>_exit".

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: Ia541253cbb65a5afc8aaed2a6cfa77d9b296c96c
src/probes/lttng-kretprobes.c
This page took 0.026521 seconds and 4 git commands to generate.