Lines Matching refs:mapname
72 #define STARTS_WITH(mapname, prefix) (!strncmp(mapname, prefix, sizeof(prefix)-1)) argument
74 int bcc_mapping_is_file_backed(const char *mapname) { in bcc_mapping_is_file_backed() argument
75 return mapname[0] && !( in bcc_mapping_is_file_backed()
76 STARTS_WITH(mapname, "//anon") || in bcc_mapping_is_file_backed()
77 STARTS_WITH(mapname, "/dev/zero") || in bcc_mapping_is_file_backed()
78 STARTS_WITH(mapname, "/anon_hugepage") || in bcc_mapping_is_file_backed()
79 STARTS_WITH(mapname, "[stack") || in bcc_mapping_is_file_backed()
80 STARTS_WITH(mapname, "/SYSV") || in bcc_mapping_is_file_backed()
81 STARTS_WITH(mapname, "[heap]") || in bcc_mapping_is_file_backed()
82 STARTS_WITH(mapname, "[vsyscall]")); in bcc_mapping_is_file_backed()
335 char endline[4096], *mapname = NULL, *newline; in which_so_in_process() local
354 mapname = endline; in which_so_in_process()
359 while (isspace(mapname[0])) mapname++; in which_so_in_process()
361 if (strstr(mapname, ".so") && (strstr(mapname, search1) || in which_so_in_process()
362 strstr(mapname, search2))) { in which_so_in_process()
364 memcpy(libpath, mapname, strlen(mapname) + 1); in which_so_in_process()
442 char *mapname = line; in bcc_procutils_language() local
446 while (isspace(mapname[0])) mapname++; in bcc_procutils_language()
449 if (strstr(mapname, pathname)) { in bcc_procutils_language()
453 if ((str = strstr(mapname, "libc")) && in bcc_procutils_language()