Home
last modified time | relevance | path

Searched refs:dir_path (Results 1 – 6 of 6) sorted by relevance

/linux-6.1.9/tools/perf/util/
Dtracepoint.c12 int tp_event_has_id(const char *dir_path, struct dirent *evt_dir) in tp_event_has_id() argument
17 snprintf(evt_path, MAXPATHLEN, "%s/%s/id", dir_path, evt_dir->d_name); in tp_event_has_id()
34 char *dir_path; in is_valid_tracepoint() local
41 dir_path = get_events_file(sys_dirent->d_name); in is_valid_tracepoint()
42 if (!dir_path) in is_valid_tracepoint()
44 evt_dir = opendir(dir_path); in is_valid_tracepoint()
48 for_each_event(dir_path, evt_dir, evt_dirent) { in is_valid_tracepoint()
59 put_events_file(dir_path); in is_valid_tracepoint()
Dtracepoint.h8 int tp_event_has_id(const char *dir_path, struct dirent *evt_dir);
10 #define for_each_event(dir_path, evt_dir, evt_dirent) \ argument
15 (!tp_event_has_id(dir_path, evt_dirent)))
Dprint-events.c72 char *dir_path; in print_tracepoint_events() local
93 dir_path = get_events_file(sys_dirent->d_name); in print_tracepoint_events()
94 if (!dir_path) in print_tracepoint_events()
96 evt_dir = opendir(dir_path); in print_tracepoint_events()
100 for_each_event(dir_path, evt_dir, evt_dirent) { in print_tracepoint_events()
115 put_events_file(dir_path); in print_tracepoint_events()
122 put_events_file(dir_path); in print_tracepoint_events()
Dtrace-event-info.c420 char *dir_path; in tracepoint_id_to_path() local
427 dir_path = get_events_file(sys_dirent->d_name); in tracepoint_id_to_path()
428 if (!dir_path) in tracepoint_id_to_path()
430 evt_dir = opendir(dir_path); in tracepoint_id_to_path()
434 for_each_event(dir_path, evt_dir, evt_dirent) { in tracepoint_id_to_path()
436 scnprintf(evt_path, MAXPATHLEN, "%s/%s/id", dir_path, in tracepoint_id_to_path()
448 put_events_file(dir_path); in tracepoint_id_to_path()
470 put_events_file(dir_path); in tracepoint_id_to_path()
/linux-6.1.9/tools/testing/selftests/filesystems/fat/
Drun_fat_tests.sh58 local dir_path="${MNT_PATH}/subdir"
60 local new_path="${dir_path}/new_file"
62 sudo mkdir -p "${dir_path}"
/linux-6.1.9/tools/perf/pmu-events/
Djevents.py657 def dir_path(path: str) -> str: function
675 type=dir_path,