diff options
author | 2023-09-17 13:24:21 +0200 | |
---|---|---|
committer | 2023-11-29 15:43:54 +0100 | |
commit | 5431fdd2c181dd2eac218e45b44deb2925fa48f0 (patch) | |
tree | f2c70579913577d25213659f520dbdd24c6a915f /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | locking/lockdep: Slightly reorder 'struct lock_class' to save some memory (diff) | |
download | wireguard-linux-5431fdd2c181dd2eac218e45b44deb2925fa48f0.tar.xz wireguard-linux-5431fdd2c181dd2eac218e45b44deb2925fa48f0.zip |
ptrace: Convert ptrace_attach() to use lock guards
Created as testing for the conditional guard infrastructure.
Specifically this makes use of the following form:
scoped_cond_guard (mutex_intr, return -ERESTARTNOINTR,
&task->signal->cred_guard_mutex) {
...
}
...
return 0;
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Oleg Nesterov <oleg@redhat.com>
Link: https://lkml.kernel.org/r/20231102110706.568467727%40infradead.org
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions