/tools/perf/tests/ |
D | expr.c | 67 TEST_ASSERT_VAL("find other", hashmap__size(&ctx.ids) == 3); in test__expr() 68 TEST_ASSERT_VAL("find other", hashmap__find(&ctx.ids, "BAR", in test__expr() 70 TEST_ASSERT_VAL("find other", hashmap__find(&ctx.ids, "BAZ", in test__expr() 72 TEST_ASSERT_VAL("find other", hashmap__find(&ctx.ids, "BOZO", in test__expr() 79 TEST_ASSERT_VAL("find other", hashmap__size(&ctx.ids) == 2); in test__expr() 80 TEST_ASSERT_VAL("find other", hashmap__find(&ctx.ids, "EVENT1,param=3/", in test__expr() 82 TEST_ASSERT_VAL("find other", hashmap__find(&ctx.ids, "EVENT2,param=3/", in test__expr()
|
D | pmu-events.c | 499 hashmap__for_each_entry((&ctx.ids), cur, bkt) in test_parsing() 502 hashmap__for_each_entry((&ctx.ids), cur, bkt) { in test_parsing() 554 hashmap__for_each_entry((&ctx.ids), cur, bkt) in metric_parse_fake() 557 hashmap__for_each_entry((&ctx.ids), cur, bkt) { in metric_parse_fake()
|
/tools/perf/util/ |
D | metricgroup.c | 138 static struct expr_id *expr_ids__alloc(struct expr_ids *ids) in expr_ids__alloc() argument 140 if (ids->cnt >= RECURSION_ID_MAX) in expr_ids__alloc() 142 return &ids->id[ids->cnt++]; in expr_ids__alloc() 145 static void expr_ids__exit(struct expr_ids *ids) in expr_ids__exit() argument 149 for (i = 0; i < ids->cnt; i++) in expr_ids__exit() 150 free(ids->id[i].id); in expr_ids__exit() 193 const int idnum = (int)hashmap__size(&pctx->ids); in find_evsel_group() 201 hashmap__find(&pctx->ids, "duration_time", (void **)&val_ptr)) in find_evsel_group() 237 if (hashmap__find(&pctx->ids, ev->name, (void **)&val_ptr)) in find_evsel_group() 316 hashmap__size(&m->pctx.ids) + 1); in metricgroup__setup_events() [all …]
|
D | expr.c | 52 ret = hashmap__set(&ctx->ids, id, data_ptr, in expr__add_id() 74 ret = hashmap__set(&ctx->ids, id, data_ptr, in expr__add_id_val() 120 ret = hashmap__set(&ctx->ids, name, data_ptr, in expr__add_ref() 136 return hashmap__find(&ctx->ids, id, (void **)data) ? 0 : -1; in expr__get_id() 172 hashmap__delete(&ctx->ids, id, in expr__del_id() 180 hashmap__init(&ctx->ids, key_hash, key_equal, NULL); in expr__ctx_init() 188 hashmap__for_each_entry((&ctx->ids), cur, bkt) { in expr__ctx_clear() 192 hashmap__clear(&ctx->ids); in expr__ctx_clear()
|
D | expr.h | 22 struct hashmap ids; member 58 struct expr_parse_ctx *ids, int runtime);
|
D | header.c | 73 struct perf_file_section ids; member 521 nri = evsel->core.ids; in write_event_desc() 535 ret = do_write(ff, evsel->core.id, evsel->core.ids * sizeof(u64)); in write_event_desc() 1799 evsel->core.ids = nr; in read_event_desc() 1842 if (evsel->core.ids) { in print_event_desc() 1844 for (j = 0, id = evsel->core.id; j < evsel->core.ids; j++, id++) { in print_event_desc() 3324 err = do_write(&ff, evsel->core.id, evsel->core.ids * sizeof(u64)); in perf_session__write_header() 3336 .ids = { in perf_session__write_header() 3338 .size = evsel->core.ids * sizeof(u64), in perf_session__write_header() 3738 ret = readn(fd, &f_attr->ids, sizeof(f_attr->ids)); in read_attr() [all …]
|
D | synthetic-events.h | 33 int perf_event__synthesize_attr(struct perf_tool *tool, struct perf_event_attr *attr, u32 ids, u64 …
|
D | synthetic-events.c | 1616 nr += evsel->core.ids; in perf_event__synthesize_id_index() 1631 for (j = 0; j < evsel->core.ids; j++) { in perf_event__synthesize_id_index() 1798 err = perf_event__synthesize_attr(tool, &evsel->core.attr, evsel->core.ids, in perf_event__synthesize_attrs() 1876 u32 ids, u64 *id, perf_event__handler_t process) in perf_event__synthesize_attr() argument 1885 size += ids * sizeof(u64); in perf_event__synthesize_attr() 1893 memcpy(ev->attr.id, id, ids * sizeof(u64)); in perf_event__synthesize_attr()
|
/tools/perf/Documentation/ |
D | perf-inject.txt | 17 this case build-ids (-b option) are read and injected as needed into the event 20 Build-ids are just the first user of perf-inject - potentially anything that 27 --build-ids:: 28 Inject build-ids into the output stream 31 Inject build-ids of all DSOs into the output stream
|
D | perf-archive.txt | 6 perf-archive - Create archive with object files with build-ids found in perf.data file
|
D | db-export.txt | 15 The export process provides records with unique sequential ids which allows the
|
D | perf.data-file-format.txt | 148 uint64_t ids[nr_ids]; 491 Map event ids to CPUs and TIDs. 589 struct perf_file_section ids; 592 ids points to a array of uint64_t defining the ids for event attr attr.
|
D | perf-buildid-cache.txt | 56 List missing build ids in the cache for the specified file.
|
/tools/testing/selftests/bpf/prog_tests/ |
D | resolve_btfids.c | 150 if (test_symbols[j].id != test_set.ids[i]) in test_resolve_btfids() 158 test_set.ids[i]); in test_resolve_btfids() 163 ret = CHECK(test_set.ids[i - 1] > test_set.ids[i], in test_resolve_btfids()
|
D | tp_attach_query.c | 118 if (CHECK(saved_prog_ids[j] != query->ids[j], in test_tp_attach_query() 121 j, saved_prog_ids[j], query->ids[j])) in test_tp_attach_query()
|
/tools/lib/perf/include/internal/ |
D | evsel.h | 46 u32 ids; member
|
/tools/usb/usbip/ |
D | configure.ac | 86 # Sets directory containing usb.ids. 89 [where usb.ids is found (default /usr/share/hwdata/)])],
|
/tools/include/linux/ |
D | btf_ids.h | 8 u32 ids[]; member
|
/tools/lib/bpf/ |
D | btf_dump.c | 597 const __u32 *ids; member 1228 decl_stack.ids = d->decl_stack + stack_start; in btf_dump_emit_type_decl() 1248 id = decl_stack->ids[decl_stack->cnt - 1]; in btf_dump_emit_mods() 1274 id = decl_stack->ids[decl_stack->cnt - 1]; in btf_dump_drop_mods() 1310 id = decls->ids[--decls->cnt]; in btf_dump_emit_type_chain() 1388 next_id = decls->ids[decls->cnt - 1]; in btf_dump_emit_type_chain()
|
/tools/perf/scripts/python/ |
D | exported-sql-viewer.py | 717 ids = self.FindValue(c.value, c.pattern, c.query, c.last_value, c.last_pattern) 719 ids = self.FindNext(c.query) 721 ids = self.FindPrev(c.query) 722 return (True, ids) 736 …thread.done.connect(lambda ids, t=thread, c=callback: self.FindDone(t, c, ids), Qt.QueuedConnectio… 739 def FindDone(self, thread, callback, ids): argument 740 callback(ids) 785 ids = [] 788 ids.insert(0, parent_id) 797 if ids[0] == 1: [all …]
|
/tools/lib/perf/ |
D | evsel.c | 300 evsel->ids = 0; in perf_evsel__free_id()
|
D | evlist.c | 245 evsel->id[evsel->ids++] = id; in perf_evlist__id_add()
|
/tools/testing/selftests/tc-testing/creating-plugins/ |
D | AddingPlugins.txt | 44 testidlist (array of test ids for tests that will be run). This is
|
/tools/include/uapi/linux/ |
D | perf_event.h | 462 __u32 ids[0]; member
|
/tools/bpf/bpftool/bash-completion/ |
D | bpftool | 53 # Takes map type and adds matching map ids to the list of suggestions. 328 # map) ids/names.
|