Searched refs:pcache (Results 1 – 3 of 3) sorted by relevance
/tools/perf/util/ |
D | probe-file.h | 35 #define for_each_probe_cache_entry(entry, pcache) \ argument 36 list_for_each_entry(entry, &pcache->entries, node) 56 int probe_cache__add_entry(struct probe_cache *pcache, 59 int probe_cache__scan_sdt(struct probe_cache *pcache, const char *pathname); 60 int probe_cache__commit(struct probe_cache *pcache); 61 void probe_cache__purge(struct probe_cache *pcache); 62 void probe_cache__delete(struct probe_cache *pcache); 63 int probe_cache__filter_purge(struct probe_cache *pcache, 65 struct probe_cache_entry *probe_cache__find(struct probe_cache *pcache, 67 struct probe_cache_entry *probe_cache__find_by_name(struct probe_cache *pcache, [all …]
|
D | probe-file.c | 415 static int probe_cache__open(struct probe_cache *pcache, const char *target, in probe_cache__open() argument 470 pcache->fd = fd; in probe_cache__open() 475 static int probe_cache__load(struct probe_cache *pcache) in probe_cache__load() argument 482 fddup = dup(pcache->fd); in probe_cache__load() 516 list_add_tail(&entry->node, &pcache->entries); in probe_cache__load() 536 struct probe_cache *pcache = zalloc(sizeof(*pcache)); in probe_cache__alloc() local 538 if (pcache) { in probe_cache__alloc() 539 INIT_LIST_HEAD(&pcache->entries); in probe_cache__alloc() 540 pcache->fd = -EINVAL; in probe_cache__alloc() 542 return pcache; in probe_cache__alloc() [all …]
|
D | parse-events.c | 2633 struct probe_cache *pcache; in print_sdt_events() local 2653 pcache = probe_cache__new(nd->s, NULL); in print_sdt_events() 2654 if (!pcache) in print_sdt_events() 2656 list_for_each_entry(ent, &pcache->entries, node) { in print_sdt_events() 2670 probe_cache__delete(pcache); in print_sdt_events()
|