Home
last modified time | relevance | path

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

/tools/perf/util/
Dpmu.c94 static int perf_pmu__parse_scale(struct perf_pmu_alias *alias, char *dir, char *name) in perf_pmu__parse_scale() argument
133 alias->scale = strtod(scale, NULL); in perf_pmu__parse_scale()
144 static int perf_pmu__parse_unit(struct perf_pmu_alias *alias, char *dir, char *name) in perf_pmu__parse_unit() argument
156 sret = read(fd, alias->unit, UNIT_MAX_LEN); in perf_pmu__parse_unit()
162 if (alias->unit[sret - 1] == '\n') in perf_pmu__parse_unit()
163 alias->unit[sret - 1] = '\0'; in perf_pmu__parse_unit()
165 alias->unit[sret] = '\0'; in perf_pmu__parse_unit()
170 alias->unit[0] = '\0'; in perf_pmu__parse_unit()
175 perf_pmu__parse_per_pkg(struct perf_pmu_alias *alias, char *dir, char *name) in perf_pmu__parse_per_pkg() argument
188 alias->per_pkg = true; in perf_pmu__parse_per_pkg()
[all …]
Dparse-events.c46 .alias = "cycles",
50 .alias = "",
54 .alias = "",
58 .alias = "",
62 .alias = "branches",
66 .alias = "",
70 .alias = "",
74 .alias = "idle-cycles-frontend",
78 .alias = "idle-cycles-backend",
82 .alias = "",
[all …]
Dalias.c18 char *alias_lookup(const char *alias) in alias_lookup() argument
20 alias_key = alias; in alias_lookup()
Dcache.h36 char *alias_lookup(const char *alias);
Dparse-events.h158 const char *alias; member
Ddata-convert-bt.c224 name = fmtf->alias; in add_tracepoint_field_value()
658 if (field->alias != field->name) in event_class_add_field()
660 (char *)field->alias); in event_class_add_field()
683 field->alias = name; in event_class_add_field()
DBuild2 libperf-y += alias.o
/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.h194 char *alias; member
Devent-parse.c1455 field->name = field->alias = last_token; in event_read_fields()
1537 field->name = field->alias = token; in event_read_fields()
6591 if (field->alias != field->name) in pevent_free_format_field()
6592 free(field->alias); in pevent_free_format_field()
/tools/perf/
Dbuiltin-help.c455 const char *alias; in cmd_help() local
479 alias = alias_lookup(argv[0]); in cmd_help()
480 if (alias && !is_perf_command(argv[0])) { in cmd_help()
481 printf("`perf %s' is aliased to `%s'\n", argv[0], alias); in cmd_help()
Dbuiltin-trace.c1009 const char *alias; member
1019 { .name = "arch_prctl", .errmsg = true, .alias = "prctl", },
1074 { .name = "fstat", .errmsg = true, .alias = "newfstat",
1076 { .name = "fstatat", .errmsg = true, .alias = "newfstatat",
1133 { .name = "lstat", .errmsg = true, .alias = "newlstat",
1157 .alias = "old_mmap",
1200 { .name = "pread", .errmsg = true, .alias = "pread64",
1202 { .name = "preadv", .errmsg = true, .alias = "pread",
1205 { .name = "pwrite", .errmsg = true, .alias = "pwrite64",
1264 { .name = "stat", .errmsg = true, .alias = "newstat",
[all …]
/tools/vm/
Dslabinfo.c29 int alias; member
1101 static void alias(void) in alias() function
1165 struct aliasinfo *alias = aliasinfo; in read_slab_dir() local
1180 alias->name = strdup(de->d_name); in read_slab_dir()
1190 alias->ref = strdup(p); in read_slab_dir()
1191 alias++; in read_slab_dir()
1197 slab->alias = 0; in read_slab_dir()
1261 aliases = alias - aliasinfo; in read_slab_dir()
1276 if (slab->alias) in output_slabs()
1461 alias(); in main()
/tools/perf/Documentation/
Dperf-report.txt225 alias for inverted caller based call graph.