/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 | 784 hashmap__for_each_entry_safe((&pctx->ids), cur, cur_tmp, bkt) { in resolve_metric_simple() 879 hashmap__for_each_entry((&ctx.ids), cur, bkt) in test_parsing() 882 hashmap__for_each_entry((&ctx.ids), cur, bkt) { in test_parsing() 940 hashmap__for_each_entry((&ctx.ids), cur, bkt) in metric_parse_fake() 943 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() 201 const int idnum = (int)hashmap__size(&pctx->ids); in find_evsel_group() 209 hashmap__find(&pctx->ids, "duration_time", (void **)&val_ptr)) in find_evsel_group() 245 if (hashmap__find(&pctx->ids, ev->name, (void **)&val_ptr)) in find_evsel_group() 325 hashmap__size(&m->pctx.ids) + 1); in metricgroup__setup_events() [all …]
|
D | expr.c | 76 ret = hashmap__set(&ctx->ids, id, data_ptr, in expr__add_id() 98 ret = hashmap__set(&ctx->ids, id, data_ptr, in expr__add_id_val() 143 ret = hashmap__set(&ctx->ids, name, data_ptr, in expr__add_ref() 159 return hashmap__find(&ctx->ids, id, (void **)data) ? 0 : -1; in expr__get_id() 208 hashmap__delete(&ctx->ids, id, in expr__del_id() 216 hashmap__init(&ctx->ids, key_hash, key_equal, NULL); in expr__ctx_init() 224 hashmap__for_each_entry((&ctx->ids), cur, bkt) { in expr__ctx_clear() 228 hashmap__clear(&ctx->ids); in expr__ctx_clear()
|
D | expr.h | 22 struct hashmap ids; member 46 struct expr_parse_ctx *ids, int runtime);
|
D | header.c | 76 struct perf_file_section ids; member 524 nri = evsel->core.ids; in write_event_desc() 538 ret = do_write(ff, evsel->core.id, evsel->core.ids * sizeof(u64)); in write_event_desc() 1880 evsel->core.ids = nr; in read_event_desc() 1923 if (evsel->core.ids) { in print_event_desc() 1925 for (j = 0, id = evsel->core.id; j < evsel->core.ids; j++, id++) { in print_event_desc() 3527 err = do_write(&ff, evsel->core.id, evsel->core.ids * sizeof(u64)); in perf_session__write_header() 3547 .ids = { in perf_session__write_header() 3549 .size = evsel->core.ids * sizeof(u64), in perf_session__write_header() 3949 ret = readn(fd, &f_attr->ids, sizeof(f_attr->ids)); in read_attr() [all …]
|
D | synthetic-events.h | 34 int perf_event__synthesize_attr(struct perf_tool *tool, struct perf_event_attr *attr, u32 ids, u64 …
|
D | synthetic-events.c | 1733 nr += evsel->core.ids; in perf_event__synthesize_id_index() 1748 for (j = 0; j < evsel->core.ids; j++) { in perf_event__synthesize_id_index() 1915 err = perf_event__synthesize_attr(tool, &evsel->core.attr, evsel->core.ids, in perf_event__synthesize_attrs() 1993 u32 ids, u64 *id, perf_event__handler_t process) in perf_event__synthesize_attr() argument 2002 size += ids * sizeof(u64); in perf_event__synthesize_attr() 2010 memcpy(ev->attr.id, id, ids * sizeof(u64)); in perf_event__synthesize_attr()
|
D | stat-shadow.c | 395 hashmap__size(&ctx.ids) + 1); in perf_stat__collect_metric_expr() 404 hashmap__for_each_entry((&ctx.ids), cur, bkt) { in perf_stat__collect_metric_expr()
|
/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 if (!ASSERT_LE(test_set.ids[i - 1], test_set.ids[i], "sort_check")) 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/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]; 524 Map event ids to CPUs and TIDs. 622 struct perf_file_section ids; 625 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/lib/perf/include/internal/ |
D | evsel.h | 47 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/perf/scripts/python/ |
D | exported-sql-viewer.py | 718 ids = self.FindValue(c.value, c.pattern, c.query, c.last_value, c.last_pattern) 720 ids = self.FindNext(c.query) 722 ids = self.FindPrev(c.query) 723 return (True, ids) 737 …thread.done.connect(lambda ids, t=thread, c=callback: self.FindDone(t, c, ids), Qt.QueuedConnectio… 740 def FindDone(self, thread, callback, ids): argument 741 callback(ids) 786 ids = [] 789 ids.insert(0, parent_id) 798 if ids[0] == 1: [all …]
|
/tools/lib/bpf/ |
D | btf_dump.c | 626 const __u32 *ids; member 1259 decl_stack.ids = d->decl_stack + stack_start; in btf_dump_emit_type_decl() 1279 id = decl_stack->ids[decl_stack->cnt - 1]; in btf_dump_emit_mods() 1305 id = decl_stack->ids[decl_stack->cnt - 1]; in btf_dump_drop_mods() 1341 id = decls->ids[--decls->cnt]; in btf_dump_emit_type_chain() 1420 next_id = decls->ids[decls->cnt - 1]; in btf_dump_emit_type_chain()
|
/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 | 495 __u32 ids[0]; member
|
/tools/lib/perf/ |
D | evsel.c | 432 evsel->ids = 0; in perf_evsel__free_id()
|
D | evlist.c | 251 evsel->id[evsel->ids++] = id; in perf_evlist__id_add()
|