]> git.lttng.org Git - lttng-modules.git/commit
fix: kprobes: Remove kretprobe hash (v5.11)
authorMichael Jeanson <mjeanson@efficios.com>
Thu, 7 Jan 2021 19:50:50 +0000 (14:50 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 19 Jan 2021 20:26:27 +0000 (15:26 -0500)
commit9e7078059c0f583c0e530b8fd3574d955548e5a5
tree914b37c07d83a904b31e23bf53176d98d4ca8039
parent99b7b395ea666b47ef54349ede02d533cfb9d11e
fix: kprobes: Remove kretprobe hash (v5.11)

See upstream commit:

  commit d741bf41d7c7db4898bacfcb020353cddc032fd8
  Author: Peter Zijlstra <peterz@infradead.org>
  Date:   Sat Aug 29 22:03:24 2020 +0900

    kprobes: Remove kretprobe hash

    The kretprobe hash is mostly superfluous, replace it with a per-task
    variable.

    This gets rid of the task hash and it's related locking.

    Note that this may change the kprobes module-exported API for kretprobe
    handlers. If any out-of-tree kretprobe user uses ri->rp, use
    get_kretprobe(ri) instead.

Link: https://lore.kernel.org/r/159870620431.1229682.16325792502413731312.stgit@devnote2
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: I717953f6364ae72803d7a8c55947662319835a5f
probes/lttng-kretprobes.c
wrapper/kprobes.h [new file with mode: 0644]
This page took 0.031053 seconds and 4 git commands to generate.