summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorWilly Tarreau <w@1wt.eu>2023-03-04 17:28:40 +0300
committerPaul E. McKenney <paulmck@kernel.org>2023-03-20 18:45:22 +0300
commit919d0532d48ca1bea62bc04f269b9e72706467c6 (patch)
tree2ecc98176b90d1d143a3be6ffa388bcc27f8efed /tools/perf/scripts/python/event_analyzing_sample.py
parentd1209597ff00b6a3c80e37089f7139d0774034bd (diff)
downloadlinux-919d0532d48ca1bea62bc04f269b9e72706467c6.tar.xz
tools/nolibc: add getuid() and geteuid()
This can be useful to avoid attempting some privileged operations, starting from the nolibc-test tool that gets two failures when not privileged. We call getuid32() and geteuid32() when they are defined, and fall back to getuid() and geteuid() otherwise. Signed-off-by: Willy Tarreau <w@1wt.eu> Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions