Home
last modified time | relevance | path

Searched refs:vdso (Results 1 – 12 of 12) sorted by relevance

/tools/testing/selftests/x86/
Dtest_vdso.c92 void *vdso = dlopen("linux-vdso.so.1", in fill_function_pointers() local
94 if (!vdso) in fill_function_pointers()
95 vdso = dlopen("linux-gate.so.1", in fill_function_pointers()
97 if (!vdso) { in fill_function_pointers()
102 vdso_getcpu = (getcpu_t)dlsym(vdso, "__vdso_getcpu"); in fill_function_pointers()
108 vdso_clock_gettime = (vgettime_t)dlsym(vdso, "__vdso_clock_gettime"); in fill_function_pointers()
112 vdso_gettimeofday = (vgtod_t)dlsym(vdso, "__vdso_gettimeofday"); in fill_function_pointers()
219 struct timespec start, vdso, end; in test_one_clock_gettime() local
226 vdso_ret = vdso_clock_gettime(clock, &vdso); in test_one_clock_gettime()
239 vdso_ret = vdso_clock_gettime(clock, &vdso); in test_one_clock_gettime()
[all …]
Dvdso_restorer.c50 void *vdso = dlopen("linux-vdso.so.1", in main() local
52 if (!vdso) in main()
53 vdso = dlopen("linux-gate.so.1", in main()
55 if (!vdso) { in main()
Dtest_vsyscall.c74 void *vdso = dlopen("linux-vdso.so.1", RTLD_LAZY | RTLD_LOCAL | RTLD_NOLOAD); in init_vdso() local
75 if (!vdso) in init_vdso()
76 vdso = dlopen("linux-gate.so.1", RTLD_LAZY | RTLD_LOCAL | RTLD_NOLOAD); in init_vdso()
77 if (!vdso) { in init_vdso()
82 vdso_gtod = (gtod_t)dlsym(vdso, "__vdso_gettimeofday"); in init_vdso()
86 vdso_gettime = (vgettime_t)dlsym(vdso, "__vdso_clock_gettime"); in init_vdso()
90 vdso_time = (time_func_t)dlsym(vdso, "__vdso_time"); in init_vdso()
94 vdso_getcpu = (getcpu_t)dlsym(vdso, "__vdso_getcpu"); in init_vdso()
/tools/testing/selftests/timens/
Dgettime_perf.c23 void *vdso = dlopen("linux-vdso.so.1", in fill_function_pointers() local
25 if (!vdso) in fill_function_pointers()
26 vdso = dlopen("linux-gate.so.1", in fill_function_pointers()
28 if (!vdso) { in fill_function_pointers()
33 vdso_clock_gettime = (vgettime_t)dlsym(vdso, "__vdso_clock_gettime"); in fill_function_pointers()
/tools/perf/util/
Dvdso.c40 struct vdso_file vdso; member
50 .vdso = { in vdso_info__new()
73 char *vdso = NULL; in get_file() local
96 vdso = vdso_file->temp_file_name; in get_file()
103 vdso_file->found = (vdso != NULL); in get_file()
105 return vdso; in get_file()
115 if (vdso_info->vdso.found) in machine__exit_vdso()
116 unlink(vdso_info->vdso.temp_file_name); in machine__exit_vdso()
347 file = get_file(&vdso_info->vdso); in machine__findnew_vdso()
Dmap.c142 int anon, no_dso, vdso, android; in map__new() local
146 vdso = is_vdso_map(filename); in map__new()
163 if (vdso) { in map__new()
DBuild87 perf-y += vdso.o
/tools/testing/selftests/powerpc/pmu/
Dlib.c150 struct addr_range libc, vdso; variable
179 vdso.first = start; in parse_proc_maps()
180 vdso.last = end - 1; in parse_proc_maps()
Dlib.h37 extern struct addr_range libc, vdso;
/tools/perf/Documentation/
Dperf.data-directory-format.txt49 build id event received for [vdso]: 8bbaf5dc62a9b644b4d4e4539737e104e4a84541
/tools/perf/
Dbuiltin-inject.c334 bool vdso; in findnew_dso() local
342 vdso = is_vdso_map(filename); in findnew_dso()
345 if (vdso) { in findnew_dso()
DMakefile.perf761 $(OUTPUT)perf-read-vdso32: perf-read-vdso.c util/find-map.c
762 $(QUIET_CC)$(CC) -m32 $(filter -static,$(LDFLAGS)) -Wall -Werror -o $@ perf-read-vdso.c
766 $(OUTPUT)perf-read-vdsox32: perf-read-vdso.c util/find-map.c
767 $(QUIET_CC)$(CC) -mx32 $(filter -static,$(LDFLAGS)) -Wall -Werror -o $@ perf-read-vdso.c