/tools/perf/util/ |
D | target.c | 75 target->uid = UINT_MAX; in target__parse_uid() 87 int uid = strtol(str, &endptr, 10); in target__parse_uid() local 92 getpwuid_r(uid, &pwd, buf, sizeof(buf), &result); in target__parse_uid() 98 target->uid = result->pw_uid; in target__parse_uid()
|
D | thread_map.h | 24 struct thread_map *thread_map__new_by_uid(uid_t uid); 25 struct thread_map *thread_map__new(pid_t pid, pid_t tid, uid_t uid); 32 const char *tid, uid_t uid);
|
D | thread_map.c | 92 struct thread_map *thread_map__new_by_uid(uid_t uid) in thread_map__new_by_uid() argument 124 if (st.st_uid != uid) in thread_map__new_by_uid() 178 struct thread_map *thread_map__new(pid_t pid, pid_t tid, uid_t uid) in thread_map__new() argument 183 if (tid == -1 && uid != UINT_MAX) in thread_map__new() 184 return thread_map__new_by_uid(uid); in thread_map__new() 313 uid_t uid) in thread_map__new_str() argument 318 if (!tid && uid != UINT_MAX) in thread_map__new_str() 319 return thread_map__new_by_uid(uid); in thread_map__new_str()
|
D | target.h | 12 uid_t uid; member
|
D | python.c | 570 int pid = -1, tid = -1, uid = UINT_MAX; in pyrf_thread_map__init() local 573 kwlist, &pid, &tid, &uid)) in pyrf_thread_map__init() 576 pthreads->threads = thread_map__new(pid, tid, uid); in pyrf_thread_map__init()
|
D | evlist.c | 1333 threads = thread_map__new_str(target->pid, target->tid, target->uid); in perf_evlist__create_maps()
|
/tools/testing/selftests/capabilities/ |
D | test_execve.c | 206 static int do_tests(int uid, const char *our_path) in do_tests() argument 208 bool have_outer_privilege = create_and_enter_ns(uid); in do_tests() 230 if (chown("validate_cap_suidnonroot", uid + 1, -1) != 0) in do_tests() 257 if (uid == 0) { in do_tests() 329 if (uid == 0) { in do_tests() 342 printf("[RUN]\tUID %d +ia => eipa\n", uid); in do_tests() 353 if (uid == 0) { in do_tests()
|
/tools/testing/selftests/zram/ |
D | zram_lib.sh | 26 local uid=$(id -u) 28 if [ $uid -ne 0 ]; then
|
/tools/testing/selftests/mount/ |
D | unprivileged-remount-test.c | 155 uid_t uid; in create_and_enter_userns() local 158 uid = getuid(); in create_and_enter_userns() 167 write_file("/proc/self/uid_map", "0 %d 1", uid); in create_and_enter_userns()
|
/tools/perf/tests/ |
D | task-exit.c | 41 .uid = UINT_MAX, in test__task_exit()
|
D | openat-syscall-tp-fields.c | 20 .uid = UINT_MAX, in test__syscall_openat_tp_fields()
|
D | backward-ring-buffer.c | 86 .uid = UINT_MAX, in test__backward_ring_buffer()
|
D | event-times.c | 15 .uid = UINT_MAX, in attach__enable_on_exec()
|
D | bpf.c | 94 .uid = UINT_MAX, in do_test()
|
D | perf-record.c | 42 .uid = UINT_MAX, in test__PERF_RECORD()
|
/tools/perf/Documentation/ |
D | perf-trace.txt | 55 --uid=:: 56 Record events in threads owned by uid. Name or number.
|
D | perf-top.txt | 83 --uid=:: 84 Record events in threads owned by uid. Name or number.
|
D | perf-record.txt | 170 --uid=:: 171 Record events in threads owned by uid. Name or number.
|
/tools/perf/ |
D | builtin-kvm.c | 1360 kvm->opts.target.uid = UINT_MAX; in kvm_events_live()
|
D | builtin-stat.c | 118 .uid = UINT_MAX,
|
D | builtin-trace.c | 2775 .uid = UINT_MAX, in cmd_trace()
|