Lines Matching refs:strdup
145 format->name = strdup(name); in perf_pmu__new_format()
282 lc = strdup(lc); in parse_double()
494 *old_str = strdup(new_str); in assign_str()
504 *old_str = strdup(new_str); in assign_str()
625 alias->name = strdup(name); in perf_pmu__new_alias()
626 alias->desc = desc ? strdup(desc) : NULL; in perf_pmu__new_alias()
627 alias->long_desc = long_desc ? strdup(long_desc) : NULL; in perf_pmu__new_alias()
628 alias->topic = topic ? strdup(topic) : NULL; in perf_pmu__new_alias()
629 alias->pmu_name = pmu_name ? strdup(pmu_name) : NULL; in perf_pmu__new_alias()
994 mutable_to_match = strdup(to_match); in perf_pmu__match_wildcard_uncore()
1174 pmu->name = strdup(name); in perf_pmu__init()
1282 pmu->name = strdup("cpu"); in perf_pmu__create_placeholder_core_pmu()
1602 strdup("no value assigned for term"), in pmu_config_term()
1617 strdup("expected numeric value"), in pmu_config_term()
1636 err_str = strdup("value too big for format"); in pmu_config_term()
1744 strdup("Attempt to set event's unit twice"), in check_info_data()
1750 strdup("Attempt to set event's scale twice"), in check_info_data()
1756 strdup("Attempt to set event snapshot twice"), in check_info_data()
1819 strdup("Failure to duplicate terms"), in perf_pmu__check_alias()
2328 caps->name = strdup(name); in perf_pmu__new_caps()