Home
last modified time | relevance | path

Searched refs:alias (Results 1 – 11 of 11) sorted by relevance

/tools/perf/util/
Dpmu.c138 static int perf_pmu__parse_scale(struct perf_pmu_alias *alias, char *dir, char *name) in perf_pmu__parse_scale() argument
164 ret = convert_scale(scale, NULL, &alias->scale); in perf_pmu__parse_scale()
170 static int perf_pmu__parse_unit(struct perf_pmu_alias *alias, char *dir, char *name) in perf_pmu__parse_unit() argument
182 sret = read(fd, alias->unit, UNIT_MAX_LEN); in perf_pmu__parse_unit()
188 if (alias->unit[sret - 1] == '\n') in perf_pmu__parse_unit()
189 alias->unit[sret - 1] = '\0'; in perf_pmu__parse_unit()
191 alias->unit[sret] = '\0'; in perf_pmu__parse_unit()
196 alias->unit[0] = '\0'; in perf_pmu__parse_unit()
201 perf_pmu__parse_per_pkg(struct perf_pmu_alias *alias, char *dir, char *name) in perf_pmu__parse_per_pkg() argument
214 alias->per_pkg = true; in perf_pmu__parse_per_pkg()
[all …]
Dparse-events.c54 .alias = "cycles",
58 .alias = "",
62 .alias = "",
66 .alias = "",
70 .alias = "branches",
74 .alias = "",
78 .alias = "",
82 .alias = "idle-cycles-frontend",
86 .alias = "idle-cycles-backend",
90 .alias = "",
[all …]
Dparse-events.h192 const char *alias; member
Ddata-convert-bt.c304 name = fmtf->alias; in add_tracepoint_field_value()
981 if (field->alias != field->name) in event_class_add_field()
983 (char *)field->alias); in event_class_add_field()
1006 field->alias = name; in event_class_add_field()
/tools/lib/traceevent/
Devent-plugin.c121 char *alias = op->plugin_alias ? op->plugin_alias : op->file; in traceevent_plugin_list_options() local
124 name = malloc(strlen(op->name) + strlen(alias) + 2); in traceevent_plugin_list_options()
128 sprintf(name, "%s:%s", alias, op->name); in traceevent_plugin_list_options()
290 const char *alias; in load_plugin() local
311 alias = dlsym(handle, PEVENT_PLUGIN_ALIAS_NAME); in load_plugin()
312 if (!alias) in load_plugin()
313 alias = file; in load_plugin()
Devent-parse.h191 char *alias; member
Devent-parse.c1459 field->name = field->alias = last_token; in event_read_fields()
1541 field->name = field->alias = token; in event_read_fields()
6737 if (field->alias != field->name) in pevent_free_format_field()
6738 free(field->alias); in pevent_free_format_field()
/tools/vm/
Dslabinfo.c30 int alias; member
1102 static void alias(void) in alias() function
1166 struct aliasinfo *alias = aliasinfo; in read_slab_dir() local
1181 alias->name = strdup(de->d_name); in read_slab_dir()
1191 alias->ref = strdup(p); in read_slab_dir()
1192 alias++; in read_slab_dir()
1198 slab->alias = 0; in read_slab_dir()
1262 aliases = alias - aliasinfo; in read_slab_dir()
1277 if (slab->alias) in output_slabs()
1462 alias(); in main()
/tools/perf/
Dbuiltin-stat.c1237 struct perf_evsel *alias; in collect_all_aliases() local
1239 alias = list_prepare_entry(counter, &(evsel_list->entries), node); in collect_all_aliases()
1240 list_for_each_entry_continue (alias, &evsel_list->entries, node) { in collect_all_aliases()
1241 if (strcmp(perf_evsel__name(alias), perf_evsel__name(counter)) || in collect_all_aliases()
1242 alias->scale != counter->scale || in collect_all_aliases()
1243 alias->cgrp != counter->cgrp || in collect_all_aliases()
1244 strcmp(alias->unit, counter->unit) || in collect_all_aliases()
1245 nsec_counter(alias) != nsec_counter(counter)) in collect_all_aliases()
1247 alias->merged_stat = true; in collect_all_aliases()
1248 cb(alias, data, false); in collect_all_aliases()
Dbuiltin-trace.c572 const char *alias; member
581 { .name = "arch_prctl", .alias = "prctl", },
611 { .name = "fstat", .alias = "newfstat", },
612 { .name = "fstatat", .alias = "newfstatat", },
645 { .name = "lstat", .alias = "newlstat", },
660 .alias = "old_mmap",
706 { .name = "pread", .alias = "pread64", },
707 { .name = "preadv", .alias = "pread", },
710 { .name = "pwrite", .alias = "pwrite64", },
752 { .name = "stat", .alias = "newstat", },
[all …]
/tools/perf/Documentation/
Dperf-report.txt269 alias for inverted caller based call graph.