strdup 197 arch/sparc/vdso/vdso2c.c name = strdup(argv[3]); strdup 124 arch/um/os-Linux/main.c new_argv[i] = strdup(argv[i]); strdup 88 arch/um/os-Linux/mem.c return strdup(dir); strdup 218 arch/x86/entry/vdso/vdso2c.c name = strdup(argv[3]); strdup 236 drivers/scsi/aic7xxx/aicasm/aicasm.c include_dir->directory = strdup(optarg); strdup 283 drivers/scsi/aic7xxx/aicasm/aicasm_gram.y prefix = strdup($3); strdup 295 drivers/scsi/aic7xxx/aicasm/aicasm_gram.y patch_arg_list = strdup($3); strdup 1616 drivers/scsi/aic7xxx/aicasm/aicasm_gram.y cur_symbol->info.macroinfo->body = strdup(bodytext); strdup 150 drivers/scsi/aic7xxx/aicasm/aicasm_macro_gram.y marg->replacement_text = strdup(argtext); strdup 72 drivers/scsi/aic7xxx/aicasm/aicasm_symbol.c new_symbol->name = strdup(name); strdup 388 drivers/scsi/aic7xxx/aicasm/aicasm_symbol.c lower_name = strdup(regnode->symbol->name); strdup 1572 fs/unicode/mkutf8data.c data->utf8nfdi = strdup(utf); strdup 1581 fs/unicode/mkutf8data.c data->utf8nfdicf = strdup(utf); strdup 476 samples/bpf/bpf_load.c maps[i].name = strdup(map_name); strdup 627 scripts/asn1_compiler.c grammar_name = strdup(p); strdup 76 scripts/genksyms/genksyms.h #define xstrdup(str) ({ char *__str = strdup(str); \ strdup 472 scripts/genksyms/parse.y const char *name = strdup((*$1)->string); strdup 477 scripts/genksyms/parse.y const char *name = strdup((*$1)->string); strdup 113 scripts/kconfig/util.c p = strdup(s); strdup 142 scripts/mod/modpost.c p = NOFAIL(strdup(modname)); strdup 374 scripts/mod/modpost.c namespace && namespace[0] ? NOFAIL(strdup(namespace)) : NULL; strdup 740 scripts/mod/modpost.c char *munged = NOFAIL(strdup(symname)); strdup 1420 scripts/mod/modpost.c return NOFAIL(strdup("")); strdup 31 scripts/selinux/genheaders/genheaders.c char *s2 = strdup(s); strdup 312 tools/accounting/getdelays.c logfile = strdup(optarg); strdup 1066 tools/bpf/bpf_dbg.c char *subcmd, *cont = NULL, *tmp = strdup(arg); strdup 1258 tools/bpf/bpf_dbg.c char *cmd, *cont, *tmp = strdup(arg); strdup 1292 tools/bpf/bpf_dbg.c return strdup(name); strdup 43 tools/bpf/bpf_jit_disasm.c path = strdup(tpath); strdup 326 tools/bpf/bpftool/cgroup.c return strdup(mnt->mnt_dir); strdup 412 tools/bpf/bpftool/common.c obj_node->path = strdup(ftse->fts_path); strdup 431 tools/bpf/bpftool/feature.c values[i] = strdup(value); strdup 424 tools/hv/hv_kvp_daemon.c os_build = strdup(uts_buf.release); strdup 476 tools/hv/hv_kvp_daemon.c p = strdup(value); strdup 481 tools/hv/hv_kvp_daemon.c p = strdup(value); strdup 511 tools/hv/hv_kvp_daemon.c p = strdup(buf); strdup 522 tools/hv/hv_kvp_daemon.c p = strdup(buf); strdup 533 tools/hv/hv_kvp_daemon.c p = strdup(buf); strdup 591 tools/hv/hv_kvp_daemon.c if_name = strdup(entry->d_name); strdup 630 tools/hv/hv_kvp_daemon.c mac_addr = strdup(p); strdup 309 tools/iio/iio_event_monitor.c chrdev_name = strdup(device_name); strdup 391 tools/iio/iio_generic_buffer.c device_name = strdup(optarg); strdup 402 tools/iio/iio_generic_buffer.c trigger_name = strdup(optarg); strdup 43 tools/iio/iio_utils.c current = strdup(full_name + strlen(prefix) + 1); strdup 1360 tools/lib/bpf/btf_dump.c *cached_name = strdup(new_name); strdup 351 tools/lib/bpf/libbpf.c name = p = strdup(prog->section_name); strdup 372 tools/lib/bpf/libbpf.c prog->section_name = strdup(section_name); strdup 483 tools/lib/bpf/libbpf.c prog->name = strdup(name); strdup 829 tools/lib/bpf/libbpf.c map->name = strdup(map_name); strdup 978 tools/lib/bpf/libbpf.c map->name = strdup(map_name); strdup 1125 tools/lib/bpf/libbpf.c map->name = strdup(map_name); strdup 1895 tools/lib/bpf/libbpf.c new_name = strdup(info.name); strdup 3751 tools/lib/bpf/libbpf.c dname = strdup(path); strdup 4358 tools/lib/bpf/libbpf.c title = strdup(title); strdup 77 tools/lib/subcmd/exec-cmd.c return strdup(path); strdup 119 tools/lib/subcmd/exec-cmd.c return strdup(argv_exec_path); strdup 123 tools/lib/subcmd/exec-cmd.c return strdup(env); strdup 208 tools/lib/subcmd/help.c path = paths = strdup(env_path); strdup 561 tools/lib/subcmd/parse-options.c ctx->argv[0] = strdup(ctx->opt - 1); strdup 276 tools/lib/traceevent/event-parse.c new_comm = strdup(comm); strdup 294 tools/lib/traceevent/event-parse.c key.comm = strdup(comm); strdup 346 tools/lib/traceevent/event-parse.c item->comm = strdup(comm); strdup 348 tools/lib/traceevent/event-parse.c item->comm = strdup("<...>"); strdup 623 tools/lib/traceevent/event-parse.c item->func = strdup(func); strdup 628 tools/lib/traceevent/event-parse.c item->mod = strdup(mod); strdup 769 tools/lib/traceevent/event-parse.c item->printk = strdup(fmt); strdup 1067 tools/lib/traceevent/event-parse.c *tok = strdup(buf); strdup 2555 tools/lib/traceevent/event-parse.c field->value = strdup(value); strdup 2572 tools/lib/traceevent/event-parse.c field->str = strdup(value); strdup 4239 tools/lib/traceevent/event-parse.c string->str = strdup(str.buffer); strdup 4456 tools/lib/traceevent/event-parse.c arg->string.string = strdup(bptr); strdup 5656 tools/lib/traceevent/event-parse.c char *format = strdup(fmt); strdup 6255 tools/lib/traceevent/event-parse.c event->system = strdup(sys); strdup 6298 tools/lib/traceevent/event-parse.c arg->field.name = strdup(field->name); strdup 6677 tools/lib/traceevent/event-parse.c func_handle->name = strdup(name); strdup 6821 tools/lib/traceevent/event-parse.c handle->event_name = strdup(event_name); strdup 6823 tools/lib/traceevent/event-parse.c handle->sys_name = strdup(sys_name); strdup 73 tools/lib/traceevent/event-plugin.c op_val = strdup(val); strdup 161 tools/lib/traceevent/event-plugin.c plugin = strdup(option->plugin_alias); strdup 166 tools/lib/traceevent/event-plugin.c plugin = strdup(file); strdup 356 tools/lib/traceevent/parse-filter.c arg->value.str = strdup(token); strdup 555 tools/lib/traceevent/parse-filter.c op->str.val = strdup(str); strdup 2021 tools/lib/traceevent/parse-filter.c return strdup(arg->field.field->name); strdup 86 tools/lib/traceevent/plugins/plugin_function.c stack->stack[pos] = strdup(child); strdup 489 tools/objtool/elf.c sec->name = strdup(name); strdup 22 tools/perf/arch/arm64/annotate/instructions.c ops->source.raw = strdup(ops->raw); strdup 29 tools/perf/arch/arm64/annotate/instructions.c ops->target.raw = strdup(target); strdup 46 tools/perf/arch/arm64/annotate/instructions.c ops->target.name = strdup(s); strdup 102 tools/perf/arch/common.c env = strdup(env); strdup 208 tools/perf/arch/powerpc/util/kvm-stat.c argv[j++] = strdup("-e"); strdup 209 tools/perf/arch/powerpc/util/kvm-stat.c argv[j++] = strdup("trace_imc/trace_cycles/"); strdup 34 tools/perf/arch/s390/annotate/instructions.c ops->target.name = strdup(name); strdup 66 tools/perf/arch/s390/annotate/instructions.c ops->source.raw = strdup(ops->raw); strdup 73 tools/perf/arch/s390/annotate/instructions.c ops->target.raw = strdup(target); strdup 89 tools/perf/arch/s390/annotate/instructions.c ops->target.name = strdup(s + 1); strdup 484 tools/perf/bench/numa.c p0.cpu_list_str = strdup(arg); strdup 502 tools/perf/bench/numa.c str0 = str = strdup(g->p.cpu_list_str); strdup 621 tools/perf/bench/numa.c p0.node_list_str = strdup(arg); strdup 639 tools/perf/bench/numa.c str0 = str = strdup(g->p.node_list_str); strdup 1838 tools/perf/builtin-c2c.c char *output = output_ ? strdup(output_) : NULL; strdup 1839 tools/perf/builtin-c2c.c char *sort = sort_ ? strdup(sort_) : NULL; strdup 1970 tools/perf/builtin-c2c.c c2c_he->nodestr = strdup(buf); strdup 2633 tools/perf/builtin-c2c.c char *tok, *tmp, *buf = strdup(cl_sort); strdup 212 tools/perf/builtin-config.c char *arg = strdup(argv[i]); strdup 1077 tools/perf/builtin-diff.c str = strdup(pdiff.time_str); strdup 1626 tools/perf/builtin-diff.c dfmt->header = strdup(buf_indent); strdup 101 tools/perf/builtin-ftrace.c val_copy = strdup(val); strdup 151 tools/perf/builtin-help.c char *new = strdup(path); strdup 214 tools/perf/builtin-help.c new->info = strdup(value); strdup 672 tools/perf/builtin-kmem.c char *orig_flags = strdup(gfp_flags); strdup 772 tools/perf/builtin-kmem.c new->human_readable = strdup(str + 10); strdup 1710 tools/perf/builtin-kmem.c char *str = strdup(arg); strdup 1736 tools/perf/builtin-kmem.c char *str = strdup(arg); strdup 1863 tools/perf/builtin-kmem.c rec_argv[i] = strdup(record_args[i]); strdup 1867 tools/perf/builtin-kmem.c rec_argv[i] = strdup(slab_events[j]); strdup 1870 tools/perf/builtin-kmem.c rec_argv[i++] = strdup("-g"); strdup 1873 tools/perf/builtin-kmem.c rec_argv[i] = strdup(page_events[j]); strdup 55 tools/perf/builtin-kvm.c filename = strdup("perf.data.host"); strdup 57 tools/perf/builtin-kvm.c filename = strdup("perf.data.guest"); strdup 59 tools/perf/builtin-kvm.c filename = strdup("perf.data.kvm"); strdup 1170 tools/perf/builtin-kvm.c _p = strdup(s); \ strdup 1306 tools/perf/builtin-kvm.c tp = strdup(*events_tp); strdup 1537 tools/perf/builtin-kvm.c rec_argv[i++] = strdup("record"); strdup 1538 tools/perf/builtin-kvm.c rec_argv[i++] = strdup("-o"); strdup 1539 tools/perf/builtin-kvm.c rec_argv[i++] = strdup(file_name); strdup 1555 tools/perf/builtin-kvm.c rec_argv[i++] = strdup("report"); strdup 1556 tools/perf/builtin-kvm.c rec_argv[i++] = strdup("-i"); strdup 1557 tools/perf/builtin-kvm.c rec_argv[i++] = strdup(file_name); strdup 1574 tools/perf/builtin-kvm.c rec_argv[i++] = strdup("buildid-list"); strdup 1575 tools/perf/builtin-kvm.c rec_argv[i++] = strdup("-i"); strdup 1576 tools/perf/builtin-kvm.c rec_argv[i++] = strdup(file_name); strdup 98 tools/perf/builtin-list.c s = strdup(argv[i]); strdup 937 tools/perf/builtin-lock.c rec_argv[i] = strdup(record_args[i]); strdup 941 tools/perf/builtin-lock.c rec_argv[i++] = strdup(lock_tracepoints[j].name); strdup 349 tools/perf/builtin-mem.c s = os = strdup(str); strdup 66 tools/perf/builtin-probe.c pev->target = strdup(params.target); strdup 116 tools/perf/builtin-probe.c params.target = strdup(ptr); strdup 189 tools/perf/builtin-probe.c tmp = strdup(str); strdup 1951 tools/perf/builtin-record.c s = strdup(str); strdup 128 tools/perf/builtin-report.c default_sort_order = strdup(value); strdup 3292 tools/perf/builtin-sched.c char *tmp, *tok, *str = strdup(sched->sort_order); strdup 3335 tools/perf/builtin-sched.c rec_argv[i] = strdup(record_args[i]); strdup 2643 tools/perf/builtin-script.c script_name = strdup(script); strdup 2655 tools/perf/builtin-script.c char *str = strdup(arg); strdup 2840 tools/perf/builtin-script.c s->name = strdup(name); strdup 2923 tools/perf/builtin-script.c desc->half_liner = strdup(skip_spaces(p)); strdup 2929 tools/perf/builtin-script.c desc->args = strdup(skip_spaces(p)); strdup 2943 tools/perf/builtin-script.c script_root = strdup(script_dirent->d_name); strdup 3179 tools/perf/builtin-script.c return strdup(script_path); strdup 228 tools/perf/builtin-timechart.c c->comm = strdup(comm); strdup 236 tools/perf/builtin-timechart.c c->comm = strdup(comm); strdup 1055 tools/perf/builtin-timechart.c task_from = strdup(c->comm); strdup 1059 tools/perf/builtin-timechart.c task_to = strdup(c->comm); strdup 1068 tools/perf/builtin-timechart.c task_from = strdup(c->comm); strdup 1072 tools/perf/builtin-timechart.c task_to = strdup(c->comm); strdup 1311 tools/perf/builtin-timechart.c filt->name = strdup(string); strdup 1733 tools/perf/builtin-timechart.c *p++ = strdup(common_args[i]); strdup 1742 tools/perf/builtin-timechart.c *p++ = strdup(disk_events[i]); strdup 1753 tools/perf/builtin-timechart.c *p++ = strdup(net_events[i]); strdup 1764 tools/perf/builtin-timechart.c *p++ = strdup(poll_events[i]); strdup 1846 tools/perf/builtin-timechart.c *p++ = strdup(common_args[i]); strdup 1849 tools/perf/builtin-timechart.c *p++ = strdup(backtrace_args[i]); strdup 1852 tools/perf/builtin-timechart.c *p++ = strdup(tasks_args[i]); strdup 1855 tools/perf/builtin-timechart.c *p++ = strdup(power_args[i]); strdup 1858 tools/perf/builtin-timechart.c *p++ = strdup(old_power_args[i]); strdup 1887 tools/perf/builtin-timechart.c svg_highlight_name = strdup(arg); strdup 1159 tools/perf/builtin-trace.c file->pathname = strdup(pathname); strdup 3595 tools/perf/builtin-trace.c symbol_conf.pid_list_str = strdup(trace->opts.target.pid); strdup 3598 tools/perf/builtin-trace.c symbol_conf.tid_list_str = strdup(trace->opts.target.tid); strdup 299 tools/perf/pmu-events/jevents.c topic = strdup(bname); strdup 377 tools/perf/pmu-events/jevents.c es->field = strdup(field); \ strdup 385 tools/perf/pmu-events/jevents.c *field = strdup(es->field); \ strdup 600 tools/perf/pmu-events/jevents.c pmu = strdup(ppmu); strdup 603 tools/perf/pmu-events/jevents.c pmu = strdup("uncore_"); strdup 1004 tools/perf/pmu-events/jevents.c mapfile = strdup(fpath); strdup 102 tools/perf/tests/event_update.c evsel->unit = strdup("KRAVA"); strdup 102 tools/perf/tests/llvm.c llvm_param.clang_opt = strdup(""); strdup 589 tools/perf/ui/browser.c fg = strdup(value); strdup 2311 tools/perf/ui/browsers/hists.c options[nr_options] = strdup(name); strdup 2315 tools/perf/ui/browsers/hists.c abs_path[nr_options] = strdup(path); strdup 2339 tools/perf/ui/browsers/hists.c tmp = strdup(abs_path[choice]); strdup 70 tools/perf/ui/browsers/scripts.c c->names[c->index] = strdup(var + 7); strdup 140 tools/perf/util/annotate.c ins->name = strdup(name); strdup 265 tools/perf/util/annotate.c ops->target.name = strdup(name); strdup 471 tools/perf/util/annotate.c *namep = strdup(name); strdup 543 tools/perf/util/annotate.c ops->source.raw = strdup(ops->raw); strdup 563 tools/perf/util/annotate.c ops->target.raw = strdup(target); strdup 607 tools/perf/util/annotate.c ops->target.raw = strdup(target); strdup 1125 tools/perf/util/annotate.c *namep = strdup(name); strdup 1188 tools/perf/util/annotate.c al->line = strdup(args->line); strdup 1676 tools/perf/util/annotate.c build_id_path = strdup(filename); strdup 1823 tools/perf/util/annotate.c args->line = strdup(srcline); strdup 2286 tools/perf/util/annotate.c filename = strdup(dso->long_name); strdup 3114 tools/perf/util/annotate.c str1 = strdup(_str); strdup 1634 tools/perf/util/auxtrace.c filt->str = fstr = strdup(*filter_inp); strdup 139 tools/perf/util/bpf-loader.c pev->target = strdup(value); strdup 149 tools/perf/util/bpf-loader.c pev->target = strdup(value); strdup 244 tools/perf/util/bpf-loader.c char *text = strdup(config_str); strdup 354 tools/perf/util/bpf-loader.c priv->evt_name = strdup(s + 1); strdup 364 tools/perf/util/bpf-loader.c pev->group = strdup(PERF_BPF_PROBE_GROUP); strdup 1179 tools/perf/util/bpf-loader.c char *map_name = strdup(term->config + sizeof("map:") - 1); strdup 219 tools/perf/util/build-id.c ret = strdup(buf + offs); /* Skip "../..[/]" */ strdup 541 tools/perf/util/build-id.c sbuild_id = strdup(cand->s); strdup 117 tools/perf/util/cgroup.c cgroup->name = strdup(name); strdup 49 tools/perf/util/comm.c cs->str = strdup(str); strdup 543 tools/perf/util/config.c section->name = strdup(section_name); strdup 562 tools/perf/util/config.c item->name = strdup(name); strdup 575 tools/perf/util/config.c char *val = strdup(value); strdup 600 tools/perf/util/config.c key = ptr = strdup(var); strdup 677 tools/perf/util/config.c user_config = strdup(mkpath("%s/.perfconfig", home)); strdup 111 tools/perf/util/data.c file->path = strdup(path); strdup 294 tools/perf/util/data.c data->file.path = strdup(data->path); strdup 189 tools/perf/util/debug.c char *vstr, *s = strdup(str); strdup 378 tools/perf/util/dso.c m->name = strdup(name); strdup 421 tools/perf/util/dso.c dso__set_short_name(dso, strdup(m->name), true); strdup 159 tools/perf/util/dsos.c lname = strdup(dso->long_name); strdup 168 tools/perf/util/dsos.c base = strdup(basename(lname)); strdup 267 tools/perf/util/env.c env->arch = strdup(uts.machine); strdup 644 tools/perf/util/evsel.c evsel->name = strdup(bf); strdup 1170 tools/perf/util/evsel.c char *new_filter = strdup(filter); strdup 223 tools/perf/util/expr.y (*other)[num_other] = strdup(val.id); strdup 15 tools/perf/util/get_current_dir_name.c return getcwd(pwd, sizeof(pwd)) == NULL ? NULL : strdup(pwd); strdup 1438 tools/perf/util/header.c char *argv_i = strdup(ff->ph->env.cmdline_argv[i]); strdup 2128 tools/perf/util/header.c evsel->name = strdup(event->name); strdup 3507 tools/perf/util/header.c evsel->name = strdup(bf); strdup 3779 tools/perf/util/header.c evsel->unit = strdup(ev->data); strdup 3782 tools/perf/util/header.c evsel->name = strdup(ev->data); strdup 462 tools/perf/util/hist.c he->srcline = strdup(he->srcline); strdup 2726 tools/perf/util/intel-pt.c evsel->name = strdup(name); strdup 48 tools/perf/util/llvm-utils.c llvm_param.clang_path = strdup(value); strdup 50 tools/perf/util/llvm-utils.c llvm_param.clang_bpf_cmd_template = strdup(value); strdup 52 tools/perf/util/llvm-utils.c llvm_param.clang_opt = strdup(value); strdup 54 tools/perf/util/llvm-utils.c llvm_param.kbuild_dir = strdup(value); strdup 56 tools/perf/util/llvm-utils.c llvm_param.kbuild_opts = strdup(value); strdup 60 tools/perf/util/llvm-utils.c llvm_param.opts = strdup(value); strdup 91 tools/perf/util/llvm-utils.c env = strdup(env); strdup 312 tools/perf/util/llvm-utils.c *kbuild_dir = strdup(saved_kbuild_dir); strdup 313 tools/perf/util/llvm-utils.c *kbuild_include_opts = strdup(saved_kbuild_include_opts); strdup 364 tools/perf/util/llvm-utils.c saved_kbuild_dir = strdup(*kbuild_dir); strdup 365 tools/perf/util/llvm-utils.c saved_kbuild_include_opts = strdup(*kbuild_include_opts); strdup 397 tools/perf/util/llvm-utils.c char *obj_path = strdup(path); strdup 69 tools/perf/util/machine.c machine->mmap_name = strdup("[kernel.kallsyms]"); strdup 71 tools/perf/util/machine.c machine->mmap_name = strdup("[guest.kernel.kallsyms]"); strdup 101 tools/perf/util/machine.c machine->root_dir = strdup(root_dir); strdup 684 tools/perf/util/machine.c dso__set_long_name(dso, strdup(filename), true); strdup 1255 tools/perf/util/machine.c return strdup(name); strdup 1273 tools/perf/util/machine.c long_name = strdup(path); strdup 243 tools/perf/util/metricgroup.c me->name = strdup(me->name); strdup 338 tools/perf/util/metricgroup.c char *mg = strdup(g); strdup 479 tools/perf/util/metricgroup.c nlist = strdup(list); strdup 170 tools/perf/util/namespaces.c nnsi->mntns_path = strdup(nsi->mntns_path); strdup 56 tools/perf/util/parse-branch-options.c s = os = strdup(str); strdup 267 tools/perf/util/parse-events.c path->name = strdup(str+1); strdup 343 tools/perf/util/parse-events.c evsel->name = strdup(name); strdup 373 tools/perf/util/parse-events.c evsel->unit = strdup("ns"); strdup 496 tools/perf/util/parse-events.c e->str = strdup("can't access trace events"); strdup 499 tools/perf/util/parse-events.c e->str = strdup("unknown tracepoint"); strdup 502 tools/perf/util/parse-events.c e->str = strdup("failed to add tracepoint"); strdup 507 tools/perf/util/parse-events.c e->help = strdup(help); strdup 731 tools/perf/util/parse-events.c parse_state->error->help = strdup("(add -v to see detail)"); strdup 732 tools/perf/util/parse-events.c parse_state->error->str = strdup(errbuf); strdup 757 tools/perf/util/parse-events.c parse_state->error->str = strdup(errbuf); strdup 766 tools/perf/util/parse-events.c parse_state->error->help = strdup( strdup 773 tools/perf/util/parse-events.c parse_state->error->str = strdup(errbuf); strdup 841 tools/perf/util/parse-events.c parse_state->error->help = strdup("(add -v to see detail)"); strdup 842 tools/perf/util/parse-events.c parse_state->error->str = strdup(errbuf); strdup 937 tools/perf/util/parse-events.c err->str = strdup("expected numeric value"); strdup 939 tools/perf/util/parse-events.c err->str = strdup("expected string value"); strdup 976 tools/perf/util/parse-events.c err->str = strdup("Invalid term_type"); strdup 1040 tools/perf/util/parse-events.c err->str = strdup("invalid branch sample type"); strdup 1048 tools/perf/util/parse-events.c err->str = strdup("expected 0 or 1"); strdup 1083 tools/perf/util/parse-events.c err->str = strdup("expected 0 or 1"); strdup 1092 tools/perf/util/parse-events.c err->str = strdup("unknown term"); strdup 1146 tools/perf/util/parse-events.c err->str = strdup("unknown term"); strdup 1147 tools/perf/util/parse-events.c err->help = strdup("valid terms: call-graph,stack-size\n"); strdup 1548 tools/perf/util/parse-events.c evsel->group_name = name ? strdup(name) : NULL; strdup 1576 tools/perf/util/parse-events.c leader->group_name = name ? strdup(name) : NULL; strdup 1762 tools/perf/util/parse-events.c evsel->name = strdup(name); strdup 1840 tools/perf/util/parse-events.c SET_SYMBOL(strdup(++tmp), PMU_EVENT_SYMBOL_SUFFIX); strdup 1843 tools/perf/util/parse-events.c SET_SYMBOL(strdup(alias->name), PMU_EVENT_SYMBOL); strdup 1872 tools/perf/util/parse-events.c p.symbol = strdup(name); strdup 2240 tools/perf/util/parse-events.c evt_list[evt_i] = strdup(evt_path); strdup 2481 tools/perf/util/parse-events.c evt_list[evt_i] = strdup(name); strdup 2576 tools/perf/util/parse-events.c evt_list[evt_i] = strdup(name); strdup 2817 tools/perf/util/parse-events.c err->str = strdup(str); strdup 38 tools/perf/util/parse-regs-options.c s = os = strdup(str); strdup 119 tools/perf/util/pmu.c lc = strdup(lc); strdup 357 tools/perf/util/pmu.c alias->name = strdup(name); strdup 368 tools/perf/util/pmu.c alias->metric_expr = metric_expr ? strdup(metric_expr) : NULL; strdup 369 tools/perf/util/pmu.c alias->metric_name = metric_name ? strdup(metric_name): NULL; strdup 370 tools/perf/util/pmu.c alias->desc = desc ? strdup(desc) : NULL; strdup 371 tools/perf/util/pmu.c alias->long_desc = long_desc ? strdup(long_desc) : strdup 372 tools/perf/util/pmu.c desc ? strdup(desc) : NULL; strdup 373 tools/perf/util/pmu.c alias->topic = topic ? strdup(topic) : NULL; strdup 380 tools/perf/util/pmu.c alias->str = strdup(newval); strdup 666 tools/perf/util/pmu.c cpuid = strdup(cpuid); strdup 711 tools/perf/util/pmu.c str = strdup(pmu_name); strdup 842 tools/perf/util/pmu.c pmu->name = strdup(name); strdup 1048 tools/perf/util/pmu.c err->str = strdup("unknown term"); strdup 1078 tools/perf/util/pmu.c err->str = strdup("no value assigned for term"); strdup 1092 tools/perf/util/pmu.c err->str = strdup("expected numeric value"); strdup 1109 tools/perf/util/pmu.c err->str = strdup("value too big for format"); strdup 1277 tools/perf/util/pmu.c format->name = strdup(name); strdup 1433 tools/perf/util/pmu.c aliases[j].name = strdup(aliases[j].name); strdup 188 tools/perf/util/probe-event.c exec_copy = strdup(exec); strdup 209 tools/perf/util/probe-event.c *result = strdup(buf); strdup 302 tools/perf/util/probe-event.c mod_name = strdup((char *)data->d_buf + name_offset); strdup 506 tools/perf/util/probe-event.c debuginfo_cache_path = strdup(path); strdup 632 tools/perf/util/probe-event.c tp->symbol = strdup(sym->name); strdup 693 tools/perf/util/probe-event.c tevs[i].point.module = strdup(exec); strdup 730 tools/perf/util/probe-event.c strdup(mod_name ? mod_name : module); strdup 773 tools/perf/util/probe-event.c tmp = strdup(reloc_sym->name); strdup 1231 tools/perf/util/probe-event.c char *range, *file, *name = strdup(arg); strdup 1284 tools/perf/util/probe-event.c lr->file = strdup(++file); strdup 1458 tools/perf/util/probe-event.c pp->lazy_line = strdup(arg); /* let leave escapes */ strdup 1581 tools/perf/util/probe-event.c arg->type = strdup(tmp + 1); strdup 1590 tools/perf/util/probe-event.c arg->var = strdup(str); strdup 1645 tools/perf/util/probe-event.c (*fieldp)->name = strdup(str); strdup 1654 tools/perf/util/probe-event.c arg->name = strdup(goodname); strdup 1752 tools/perf/util/probe-event.c argv0_str = strdup(argv[0]); strdup 1766 tools/perf/util/probe-event.c tev->group = strdup(fmt2_str); strdup 1767 tools/perf/util/probe-event.c tev->event = strdup(fmt3_str); strdup 1815 tools/perf/util/probe-event.c tp->symbol = strdup(fmt1_str); strdup 1845 tools/perf/util/probe-event.c tev->args[i].name = strdup(argv[i + 2]); strdup 1847 tools/perf/util/probe-event.c tev->args[i].value = strdup(p); strdup 2126 tools/perf/util/probe-event.c pp->function = strdup(sym->name); strdup 2154 tools/perf/util/probe-event.c pp->function = strdup(tp->symbol); strdup 2160 tools/perf/util/probe-event.c pp->function = strdup(buf); strdup 2178 tools/perf/util/probe-event.c pev->event = strdup(tev->event); strdup 2179 tools/perf/util/probe-event.c pev->group = strdup(tev->group); strdup 2195 tools/perf/util/probe-event.c pev->args[i].name = strdup(tev->args[i].name); strdup 2239 tools/perf/util/probe-event.c ({ char *__p = NULL; if (str && !(__p = strdup(str))) goto label; __p; }) strdup 2395 tools/perf/util/probe-event.c node->symbol = strdup(p); strdup 2604 tools/perf/util/probe-event.c nbase = strdup(base); strdup 2727 tools/perf/util/probe-event.c tev->event = strdup(event); strdup 2728 tools/perf/util/probe-event.c tev->group = strdup(group); strdup 2984 tools/perf/util/probe-event.c strdup(mod_name ? mod_name : pev->target); strdup 3087 tools/perf/util/probe-event.c tp->module = strdup(pev->target); strdup 3093 tools/perf/util/probe-event.c tev->group = strdup(pev->group); strdup 3099 tools/perf/util/probe-event.c tev->event = strdup(pev->event); strdup 3321 tools/perf/util/probe-event.c pev->group = strdup(PERFPROBE_GROUP); strdup 3553 tools/perf/util/probe-event.c tvar->value = strdup(pvar->var); strdup 3557 tools/perf/util/probe-event.c tvar->type = strdup(pvar->type); strdup 3562 tools/perf/util/probe-event.c tvar->name = strdup(pvar->name); strdup 501 tools/perf/util/probe-file.c entry->spev = strdup(buf + 1); strdup 732 tools/perf/util/probe-file.c char *op, *desc = strdup(arg), *new_op = NULL; strdup 849 tools/perf/util/probe-file.c entry->pev.event = strdup(note->name); strdup 850 tools/perf/util/probe-file.c entry->pev.group = strdup(sdtgrp); strdup 268 tools/perf/util/probe-finder.c tvar->value = strdup(regs); strdup 299 tools/perf/util/probe-finder.c tvar->type = strdup(cast); strdup 357 tools/perf/util/probe-finder.c tvar->type = strdup(cast); strdup 394 tools/perf/util/probe-finder.c tvar->type = strdup(buf); strdup 571 tools/perf/util/probe-finder.c pf->tvar->name = strdup(pf->pvar->name); strdup 634 tools/perf/util/probe-finder.c tp->symbol = strdup(symbol); strdup 1299 tools/perf/util/probe-finder.c tev->point.realname = strdup(dwarf_diename(sc_die)); strdup 1668 tools/perf/util/probe-finder.c ppt->function = strdup(func); strdup 1675 tools/perf/util/probe-finder.c ppt->file = strdup(fname); strdup 1694 tools/perf/util/probe-finder.c lr->path = strdup(src); strdup 1853 tools/perf/util/probe-finder.c lr->comp_dir = strdup(comp_dir); strdup 1880 tools/perf/util/probe-finder.c *new_path = strdup(raw_path); strdup 1093 tools/perf/util/s390-cpumsf.c sf->logdir = strdup(value); strdup 211 tools/perf/util/scripting-engines/trace-event-perl.c cur_field_name = strdup(args->field.name); strdup 288 tools/perf/util/scripting-engines/trace-event-python.c cur_field_name = strdup(args->field.name); strdup 2246 tools/perf/util/session.c ref->name = strdup(symbol_name); strdup 2441 tools/perf/util/sort.c str = strdup(tok); strdup 2833 tools/perf/util/sort.c str = strdup(sort_keys); strdup 3042 tools/perf/util/sort.c strp = str = strdup(field_order); strdup 131 tools/perf/util/srccode.c h->fn = strdup(fn); strdup 249 tools/perf/util/srcline.c a2l->input = strdup(path); strdup 342 tools/perf/util/srcline.c *file = a2l->filename ? strdup(a2l->filename) : NULL; strdup 381 tools/perf/util/stat-shadow.c printed = strdup(metric_names[i]); strdup 761 tools/perf/util/stat-shadow.c n = strdup(metric_events[i]->name); strdup 270 tools/perf/util/string.c char *s, *d, *p, *ret = strdup(str); strdup 24 tools/perf/util/strlist.c s = strdup(s); strdup 791 tools/perf/util/symbol-elf.c ss->name = strdup(name); strdup 2084 tools/perf/util/symbol-elf.c tmp->provider = strdup(provider); strdup 2089 tools/perf/util/symbol-elf.c tmp->name = strdup(name); strdup 2107 tools/perf/util/symbol-elf.c tmp->args = strdup(++args); strdup 261 tools/perf/util/symbol-minimal.c ss->name = strdup(name); strdup 989 tools/perf/util/symbol.c mi->name = strdup(name); strdup 1390 tools/perf/util/symbol.c dso__set_long_name(dso, strdup(kcore_filename), true); strdup 1730 tools/perf/util/symbol.c dso->symsrc_filename = strdup(name); strdup 1967 tools/perf/util/symbol.c return strdup(path); strdup 1972 tools/perf/util/symbol.c return strdup("/proc/kallsyms"); strdup 1982 tools/perf/util/symbol.c return strdup(path); strdup 2117 tools/perf/util/symbol.c vmlinux_path[vmlinux_path__nr_entries] = strdup(new_entry); strdup 2336 tools/perf/util/symbol.c symbol_conf.symfs = strdup(dir); strdup 349 tools/perf/util/thread_map.c map->map[i].comm = strdup("dummy"); strdup 76 tools/perf/util/time-utils.c str = strdup(ostr); strdup 136 tools/perf/util/time-utils.c str = strdup(ostr); strdup 289 tools/perf/util/time-utils.c str = strdup(ostr); strdup 142 tools/perf/util/trace-event-parse.c printk = strdup(fmt+1); strdup 179 tools/perf/util/values.c values->countername[i] = strdup(name); strdup 141 tools/power/cpupower/lib/cpufreq.c result = strdup(linebuf); strdup 190 tools/power/cpupower/lib/cpuidle.c result = strdup(linebuf); strdup 356 tools/power/cpupower/lib/cpuidle.c result = strdup(linebuf); strdup 260 tools/power/cpupower/utils/helpers/sysfs.c result = strdup(linebuf); strdup 426 tools/power/cpupower/utils/helpers/sysfs.c result = strdup(linebuf); strdup 108 tools/testing/selftests/bpf/test_progs.c test->subtest_name = strdup(name); strdup 450 tools/testing/selftests/bpf/test_progs.c env->subtest_selector.name = strdup(subtest_str + 1); strdup 454 tools/testing/selftests/bpf/test_progs.c env->test_selector.name = strdup(arg); strdup 39 tools/testing/selftests/bpf/trace_helpers.c syms[i].name = strdup(func); strdup 434 tools/testing/selftests/capabilities/test_execve.c tmp1 = strdup(argv[0]); strdup 438 tools/testing/selftests/capabilities/test_execve.c our_path = strdup(tmp2); strdup 254 tools/testing/selftests/mqueue/mq_open_tests.c queue_path = strdup(argv[1]); strdup 1421 tools/testing/selftests/net/nettest.c str = strdup(_str); strdup 282 tools/testing/selftests/net/so_txtime.c arg = strdup(optarg); strdup 270 tools/testing/selftests/powerpc/benchmarks/fork.c char *dirname = strdup(argv[0]); strdup 259 tools/usb/testusb.c entry->name = strdup(name); strdup 199 tools/vm/slabinfo.c *x = strdup(p); strdup 1195 tools/vm/slabinfo.c alias->name = strdup(de->d_name); strdup 1205 tools/vm/slabinfo.c alias->ref = strdup(p); strdup 1211 tools/vm/slabinfo.c slab->name = strdup(de->d_name);