Lines Matching defs:path
340 char path[PATH_MAX];
350 sprintf(path, "%s/%d", symbol_conf.guestmount, pid);
351 if (access(path, R_OK)) {
357 if (!strlist__has_entry(seen, path)) {
358 pr_err("Can't access file %s\n", path);
359 strlist__add(seen, path);
364 root_dir = path;
667 cgrp = cgroup__findnew(machine->env, event->cgroup.id, event->cgroup.path);
1207 char path[PATH_MAX];
1234 sprintf(path, "%s/%s/proc/kallsyms",
1237 ret = access(path, R_OK);
1239 pr_debug("Can't access file %s\n", path);
1339 static int maps__set_module_path(struct maps *maps, const char *path, struct kmod_path *m)
1347 long_name = strdup(path);
1378 char path[PATH_MAX];
1382 snprintf(path, sizeof(path), "%s/%s", dir_name, dent->d_name);
1383 if (stat(path, &st))
1398 ret = maps__set_modules_path_dir(maps, path, depth + 1);
1409 ret = maps__set_module_path(maps, path, &m);
1467 char path[PATH_MAX];
1472 snprintf(path, PATH_MAX, "%s/proc/modules", machine->root_dir);
1473 modules = path;
1485 pr_debug("Problems setting modules path maps, continuing anyway...\n");