Home
last modified time | relevance | path

Searched refs:file_path (Results 1 – 15 of 15) sorted by relevance

/tools/perf/util/
A Dordered-events.h12 const char *file_path; member
57 u64 timestamp, u64 file_offset, const char *file_path);
A Dtool.c18 const char *file_path) in perf_session__process_compressed_event() argument
40 decomp->file_path = file_path; in perf_session__process_compressed_event()
237 const char *file_path __maybe_unused) in perf_session__process_compressed_event_stub()
A Dsession.h99 const char *file_path; member
136 u64 timestamp, u64 file_offset, const char *file_path);
A Dsession.c48 const char *file_path);
136 event->file_path); in ordered_events__deliver_event()
1041 const char *file_path) in dump_event() argument
1276 const char *file_path) in machines__deliver_event() argument
1366 const char *file_path) in perf_session__deliver_event() argument
1387 event, &sample, tool, file_offset, file_path); in perf_session__deliver_event()
1399 const char *file_path) in perf_session__process_user_event() argument
1644 const char *file_path) in perf_session__process_event() argument
2032 decomp->file_path)) < 0) { in __perf_session__process_decomp_events()
2064 const char *file_path);
[all …]
A Dordered-events.c195 u64 timestamp, u64 file_offset, const char *file_path) in ordered_events__queue() argument
220 oevent->file_path = file_path; in ordered_events__queue()
/tools/testing/selftests/bpf/
A Dcgroup_helpers.c132 char file_path[PATH_MAX + 1]; in __write_cgroup_file() local
135 snprintf(file_path, sizeof(file_path), "%s/%s", cgroup_path, file); in __write_cgroup_file()
136 fd = open(file_path, O_RDWR); in __write_cgroup_file()
138 log_err("Opening %s", file_path); in __write_cgroup_file()
143 log_err("Writing to %s", file_path); in __write_cgroup_file()
/tools/testing/selftests/mm/
A Dvm_util.c490 int write_sysfs(const char *file_path, unsigned long val) in write_sysfs() argument
492 FILE *f = fopen(file_path, "w"); in write_sysfs()
495 fprintf(stderr, "f %s\n", file_path); in write_sysfs()
509 int read_sysfs(const char *file_path, unsigned long *val) in read_sysfs() argument
511 FILE *f = fopen(file_path, "r"); in read_sysfs()
514 fprintf(stderr, "f %s\n", file_path); in read_sysfs()
A Dvm_util.h100 int write_sysfs(const char *file_path, unsigned long val);
101 int read_sysfs(const char *file_path, unsigned long *val);
A Dksm_tests.c60 static int ksm_write_sysfs(const char *file_path, unsigned long val) in ksm_write_sysfs() argument
62 return write_sysfs(file_path, val); in ksm_write_sysfs()
65 static int ksm_read_sysfs(const char *file_path, unsigned long *val) in ksm_read_sysfs() argument
67 return read_sysfs(file_path, val); in ksm_read_sysfs()
/tools/testing/selftests/resctrl/
A Dresctrlfs.c371 char file_path[PATH_MAX]; in resource_info_unsigned_get() local
374 snprintf(file_path, sizeof(file_path), "%s/%s/%s", INFO_PATH, resource, in resource_info_unsigned_get()
377 fp = fopen(file_path, "r"); in resource_info_unsigned_get()
379 ksft_print_msg("Error opening %s: %m\n", file_path); in resource_info_unsigned_get()
384 ksft_print_msg("Could not get contents of %s: %m\n", file_path); in resource_info_unsigned_get()
/tools/verification/rvgen/rvgen/
A Ddot2k.py18 def __init__(self, file_path, MonitorType, extra_params={}): argument
21 Dot2c.__init__(self, file_path, extra_params.get("model_name"))
A Dltl2k.py59 def __init__(self, file_path, MonitorType, extra_params={}): argument
63 with open(file_path) as f:
68 self.name = Path(file_path).stem
A Dautomata.py22 def __init__(self, file_path, model_name=None): argument
23 self.__dot_path = file_path
A Ddot2c.py25 def __init__(self, file_path, model_name=None): argument
26 super().__init__(file_path, model_name)
/tools/testing/selftests/landlock/
A Dfs_test.c5336 const char *const file_path; in FIXTURE_VARIANT() local
5347 .file_path = file1_s1d1, in FIXTURE_VARIANT_ADD()
5355 .file_path = TMP_DIR "/dir/file", in FIXTURE_VARIANT_ADD()
5362 .file_path = TMP_DIR "/test/cgroup.procs", in FIXTURE_VARIANT_ADD()
5369 .file_path = TMP_DIR "/self/status", in FIXTURE_VARIANT_ADD()
5376 .file_path = TMP_DIR "/kernel/notes", in FIXTURE_VARIANT_ADD()
5384 .file_path = TMP_DIR "/dir/file", in FIXTURE_VARIANT_ADD()
5428 if (stat(variant->file_path, &statbuf)) { in FIXTURE_SETUP()
5432 fd = creat(variant->file_path, 0600); in FIXTURE_SETUP()
5436 variant->file_path, strerror(errno)); in FIXTURE_SETUP()
[all …]

Completed in 32 milliseconds