Lines Matching refs:filename
19 static inline int is_android_lib(const char *filename) in is_android_lib() argument
21 return strstarts(filename, "/data/app-lib/") || in is_android_lib()
22 strstarts(filename, "/system/lib/"); in is_android_lib()
25 static inline bool replace_android_lib(const char *filename, char *newfilename) in replace_android_lib() argument
32 libname = strrchr(filename, '/'); in replace_android_lib()
42 if (strstarts(filename, "/data/app-lib/")) { in replace_android_lib()
66 if (strstarts(filename, "/system/lib/")) { in replace_android_lib()
121 char *filename, struct thread *thread) in map__new() argument
134 android = is_android_lib(filename); in map__new()
135 anon = is_anon_memory(filename) || flags & MAP_HUGETLB; in map__new()
136 vdso = is_vdso_map(filename); in map__new()
137 no_dso = is_no_dso_memory(filename); in map__new()
145 filename = newfilename; in map__new()
149 if (replace_android_lib(filename, newfilename)) in map__new()
150 filename = newfilename; in map__new()
167 dso = machine__findnew_dso_id(machine, filename, id); in map__new()
200 header_bid_dso = __dsos__find(&machine->dsos, filename, false); in map__new()