Home
last modified time | relevance | path

Searched refs:ids (Results 1 – 25 of 28) sorted by relevance

12

/tools/perf/util/
Dmetricgroup.c87 const char **ids; member
94 const char **ids, in find_evsel_group() argument
103 if (!strcmp(ev->name, ids[i])) { in find_evsel_group()
118 if (!strcmp(ev->name, ids[i])) in find_evsel_group()
172 evsel = find_evsel_group(perf_evlist, eg->ids, eg->idnum, in metricgroup__setup_events()
425 const char **ids; in metricgroup__add_metric() local
433 NULL, &ids, &idnum) < 0) in metricgroup__add_metric()
438 pr_debug("found event %s\n", ids[j]); in metricgroup__add_metric()
444 if (!strcmp(ids[j], "duration_time")) { in metricgroup__add_metric()
453 ids[j]); in metricgroup__add_metric()
[all …]
Dexpr.y55 if (!strcasecmp(ctx->ids[i].name, id)) {
56 *val = ctx->ids[i].val;
178 ctx->ids[idx].name = name;
179 ctx->ids[idx].val = val;
Dexpr.h15 struct parse_id ids[MAX_PARSE_ID]; member
Dheader.c72 struct perf_file_section ids; member
520 nri = evsel->core.ids; in write_event_desc()
534 ret = do_write(ff, evsel->core.id, evsel->core.ids * sizeof(u64)); in write_event_desc()
1653 evsel->core.ids = nr; in read_event_desc()
1696 if (evsel->core.ids) { in print_event_desc()
1698 for (j = 0, id = evsel->core.id; j < evsel->core.ids; j++, id++) { in print_event_desc()
3065 err = do_write(&ff, evsel->core.id, evsel->core.ids * sizeof(u64)); in perf_session__write_header()
3077 .ids = { in perf_session__write_header()
3079 .size = evsel->core.ids * sizeof(u64), in perf_session__write_header()
3479 ret = readn(fd, &f_attr->ids, sizeof(f_attr->ids)); in read_attr()
[all …]
Dsynthetic-events.h33 int perf_event__synthesize_attr(struct perf_tool *tool, struct perf_event_attr *attr, u32 ids, u64 …
Dsynthetic-events.c1416 nr += evsel->core.ids; in perf_event__synthesize_id_index()
1431 for (j = 0; j < evsel->core.ids; j++) { in perf_event__synthesize_id_index()
1598 err = perf_event__synthesize_attr(tool, &evsel->core.attr, evsel->core.ids, in perf_event__synthesize_attrs()
1676 u32 ids, u64 *id, perf_event__handler_t process) in perf_event__synthesize_attr() argument
1685 size += ids * sizeof(u64); in perf_event__synthesize_attr()
1693 memcpy(ev->attr.id, id, ids * sizeof(u64)); in perf_event__synthesize_attr()
Dintel-bts.c771 if (evsel->core.attr.type == bts->pmu_type && evsel->core.ids) { in intel_bts_synth_events()
Dstat-shadow.c812 zfree(&pctx.ids[i].name); in generic_metric()
/tools/perf/Documentation/
Dperf-inject.txt17 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
Dperf-archive.txt6 perf-archive - Create archive with object files with build-ids found in perf.data file
Ddb-export.txt15 The export process provides records with unique sequential ids which allows the
Dperf.data-file-format.txt148 uint64_t ids[nr_ids];
462 Map event ids to CPUs and TIDs.
560 struct perf_file_section ids;
563 ids points to a array of uint64_t defining the ids for event attr attr.
Dperf-buildid-cache.txt56 List missing build ids in the cache for the specified file.
Dintel-pt.txt548 Intel PT and build ids
551 By default "perf record" post-processes the event stream to find all build ids
553 decoded for that purpose (it would take too long). Instead the build ids for
/tools/perf/lib/include/internal/
Devsel.h46 u32 ids; member
/tools/testing/selftests/bpf/prog_tests/
Dtp_attach_query.c118 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/usb/usbip/
Dconfigure.ac86 # Sets directory containing usb.ids.
89 [where usb.ids is found (default /usr/share/hwdata/)])],
/tools/perf/scripts/python/
Dexported-sql-viewer.py705 ids = self.FindValue(c.value, c.pattern, c.query, c.last_value, c.last_pattern)
707 ids = self.FindNext(c.query)
709 ids = self.FindPrev(c.query)
710 return (True, ids)
724 …thread.done.connect(lambda ids, t=thread, c=callback: self.FindDone(t, c, ids), Qt.QueuedConnectio…
727 def FindDone(self, thread, callback, ids): argument
728 callback(ids)
773 ids = []
776 ids.insert(0, parent_id)
785 if ids[0] == 1:
[all …]
/tools/lib/bpf/
Dbtf_dump.c564 const __u32 *ids; member
1104 decl_stack.ids = d->decl_stack + stack_start; in btf_dump_emit_type_decl()
1124 id = decl_stack->ids[decl_stack->cnt - 1]; in btf_dump_emit_mods()
1150 id = decl_stack->ids[decl_stack->cnt - 1]; in btf_dump_drop_mods()
1186 id = decls->ids[--decls->cnt]; in btf_dump_emit_type_chain()
1264 next_id = decls->ids[decls->cnt - 1]; in btf_dump_emit_type_chain()
/tools/perf/lib/
Devlist.c202 evsel->id[evsel->ids++] = id; in perf_evlist__id_add()
Devsel.c261 evsel->ids = 0; in perf_evsel__free_id()
/tools/testing/selftests/tc-testing/creating-plugins/
DAddingPlugins.txt44 testidlist (array of test ids for tests that will be run). This is
/tools/include/uapi/linux/
Dperf_event.h451 __u32 ids[0]; member
/tools/bpf/bpftool/bash-completion/
Dbpftool53 # Takes map type and adds matching map ids to the list of suggestions.
254 # Complete id, only for subcommands that use prog (but no map) ids
/tools/testing/selftests/tc-testing/
DREADME203 The pre-suite hook receives the number of tests and an array of test ids.

12