/linux-master/tools/perf/util/ |
H A D | get_current_dir_name.c | 16 return getcwd(pwd, sizeof(pwd)) == NULL ? NULL : strdup(pwd);
|
H A D | parse-sublevel-options.c | 13 char *vstr, *s = strdup(str); 48 char *s = strdup(str);
|
H A D | dwarf-regs.c | 83 char *regname = strdup(name);
|
H A D | parse-regs-options.c | 38 s = os = strdup(str);
|
H A D | pmus.c | 424 #define COPY_STR(str) s->str = info->str ? strdup(info->str) : NULL 565 return strdup(list_first_entry(&core_pmus, struct perf_pmu, list)->name); 569 return strdup("cpu"); 574 return strdup("cpu"); 581 result = strdup(dent->d_name); 587 return result ?: strdup("cpu");
|
H A D | pmu.c | 126 format->name = strdup(name); 265 lc = strdup(lc); 442 *old_str = strdup(new_str); 452 *old_str = strdup(new_str); 542 alias->name = strdup(name); 543 alias->desc = desc ? strdup(desc) : NULL; 544 alias->long_desc = long_desc ? strdup(long_desc) : 545 desc ? strdup(desc) : NULL; 546 alias->topic = topic ? strdup(topic) : NULL; 547 alias->pmu_name = pmu_name ? strdup(pmu_nam [all...] |
H A D | parse-branch-options.c | 61 s = os = strdup(str);
|
H A D | parse-events.c | 214 term->config = strdup("config"); 267 evsel->pmu_name = pmu ? strdup(pmu->name) : NULL; 270 evsel->name = strdup(name); 273 evsel->metric_id = strdup(metric_id); 322 evsel->unit = strdup("ns"); 519 parse_events_error__handle(e, column, strdup(str), strdup(help)); 735 ? strdup("expected numeric value") 736 : strdup("expected string value"), 790 strdup("Invali [all...] |
H A D | probe-event.c | 221 exec_copy = strdup(exec); 242 *result = strdup(buf); 336 mod_name = strdup((char *)data->d_buf + name_offset); 594 debuginfo_cache_path = strdup(path); 724 tp->symbol = strdup(sym->name); 785 tevs[i].point.module = strdup(exec); 822 strdup(mod_name ? mod_name : module); 873 tmp = strdup(reloc_sym->name); 1349 char *range, *file, *name = strdup(arg); 1402 lr->file = strdup( [all...] |
H A D | config.c | 467 evsel__bpf_counter_events = strdup(value); 557 config = strdup(mkpath(path, sizeof(path), "%s/.perfconfig", home)); 627 section->name = strdup(section_name); 629 pr_debug("%s: strdup failed\n", __func__); 646 item->name = strdup(name); 648 pr_debug("%s: strdup failed\n", __func__); 659 char *val = strdup(value); 684 key = ptr = strdup(var); 686 pr_debug("%s: strdup failed\n", __func__);
|
H A D | parse-events.y | 180 strdup("Bad modifier"), NULL); 240 strdup("Bad modifier"), NULL); 338 strdup("Bad event or PMU"), 363 parse_events_error__handle(error, @1.first_column, strdup("Bad event name"), help); 675 strdup("raw"), $1, &@1, &@1); 828 char *config = strdup($1);
|
/linux-master/tools/perf/arch/arm64/annotate/ |
H A D | instructions.c | 22 ops->source.raw = strdup(ops->raw); 29 ops->target.raw = strdup(target); 46 ops->target.name = strdup(s);
|
/linux-master/tools/perf/arch/s390/annotate/ |
H A D | instructions.c | 34 ops->target.name = strdup(name); 63 ops->source.raw = strdup(ops->raw); 70 ops->target.raw = strdup(target); 86 ops->target.name = strdup(s + 1);
|
/linux-master/tools/perf/tests/ |
H A D | expr.c | 32 TEST_ASSERT_EQUAL("ids__insert", ids__insert(ids1, strdup("foo")), 0); 33 TEST_ASSERT_EQUAL("ids__insert", ids__insert(ids1, strdup("bar")), 0); 41 TEST_ASSERT_EQUAL("ids__insert", ids__insert(ids2, strdup("foo")), 0); 49 TEST_ASSERT_EQUAL("ids__insert", ids__insert(ids2, strdup("bar")), 0); 50 TEST_ASSERT_EQUAL("ids__insert", ids__insert(ids2, strdup("baz")), 0); 90 expr__add_id_val(ctx, strdup("FOO"), 1); 91 expr__add_id_val(ctx, strdup("BAR"), 2); 284 expr__add_id_val(ctx, strdup("cycles"), 2);
|
/linux-master/tools/lib/subcmd/ |
H A D | exec-cmd.c | 82 return strdup(path); 124 return strdup(argv_exec_path); 128 return strdup(env);
|
/linux-master/drivers/scsi/aic7xxx/aicasm/ |
H A D | aicasm_macro_gram.y | 150 marg->replacement_text = strdup(argtext);
|
/linux-master/scripts/genksyms/ |
H A D | genksyms.h | 76 #define xstrdup(str) ({ char *__str = strdup(str); \
|
/linux-master/tools/perf/arch/powerpc/util/ |
H A D | kvm-stat.c | 208 argv[j++] = strdup("-e"); 209 argv[j++] = strdup("trace_imc/trace_cycles/");
|
/linux-master/drivers/accessibility/speakup/ |
H A D | utils.h | 98 this->name = strdup(name);
|
/linux-master/tools/perf/arch/x86/util/ |
H A D | evlist.c | 47 evsel->pmu_name = strdup(pmu->name);
|
/linux-master/tools/lib/api/fs/ |
H A D | fs.c | 168 fs->path = strdup(path); 196 fs->path = strdup(*ptr); 236 fs->path = strdup(override_path); 285 fs->path = strdup(mountpoint);
|
/linux-master/tools/perf/bench/ |
H A D | sched-pipe.c | 53 char *p = strdup(str); 69 cgrp_names[0] = strdup(p); 70 cgrp_names[1] = strdup(q + 1);
|
/linux-master/tools/perf/ |
H A D | builtin-timechart.c | 244 c->comm = strdup(comm); 252 c->comm = strdup(comm); 1064 task_from = strdup(c->comm); 1068 task_to = strdup(c->comm); 1077 task_from = strdup(c->comm); 1081 task_to = strdup(c->comm); 1320 filt->name = strdup(string); 1741 *p++ = strdup(common_args[i]); 1750 *p++ = strdup(disk_events[i]); 1761 *p++ = strdup(net_event [all...] |
H A D | builtin-list.c | 137 print_state->last_topic = strdup(topic ?: ""); 231 print_state->last_metricgroups = strdup(group ?: ""); 567 default_ps.last_topic = strdup(""); 572 default_ps.pmu_glob = strdup(unit_name); 581 default_ps.pmu_glob = strdup(pmu->name); 631 default_ps.event_glob = strdup(argv[i]);
|
/linux-master/tools/tracing/rtla/src/ |
H A D | trace.c | 232 tevent->system = strdup(event_string); 255 event->filter = strdup(filter); 270 event->trigger = strdup(trigger);
|