Home
last modified time | relevance | path

Searched refs:evt_path (Results 1 – 2 of 2) sorted by relevance

/linux/tools/perf/util/
H A Dtp_pmu.c32 char *evt_path; in tp_pmu__for_each_tp_event() local
37 evt_path = get_events_file(sys); in tp_pmu__for_each_tp_event()
38 if (!evt_path) in tp_pmu__for_each_tp_event()
41 io_dir__init(&evt_dir, open(evt_path, O_CLOEXEC | O_DIRECTORY | O_RDONLY)); in tp_pmu__for_each_tp_event()
44 put_events_file(evt_path); in tp_pmu__for_each_tp_event()
47 put_events_file(evt_path); in tp_pmu__for_each_tp_event()
H A Dtracepoint.c16 char evt_path[MAXPATHLEN]; in tp_event_has_id() local
19 snprintf(evt_path, MAXPATHLEN, "%s/%s/id", dir_path, evt_dir->d_name); in tp_event_has_id()
20 fd = open(evt_path, O_RDONLY); in tp_event_has_id()