Lines Matching refs:asprintf
880 if (asprintf(&alloc_str2, "%s%s", str, buf) < 0) in hist_browser__show_callchain_list()
890 if (asprintf(&alloc_str, "%s %s", buf, str) < 0) in hist_browser__show_callchain_list()
1006 if (asprintf(&new, "%s%s%s", old_str, in hist_browser__folded_callchain_str()
1011 if (asprintf(&new, "%s %s", value_str, str) < 0) in hist_browser__folded_callchain_str()
1014 if (asprintf(&new, "%s", str) < 0) in hist_browser__folded_callchain_str()
1053 if (asprintf(&value_str, "%s", buf) < 0) { in hist_browser__show_callchain_folded()
2510 if (asprintf(optstr, "Annotate %s", ms->sym->name) < 0) in add_annotate_opt()
2563 ret = asprintf(optstr, "Zoom %s %s(%d) thread", in add_thread_opt()
2568 ret = asprintf(optstr, "Zoom %s %s thread", in add_thread_opt()
2616 if (asprintf(optstr, "Zoom %s %s DSO (use the 'k' hotkey to zoom directly into the kernel)", in add_dso_opt()
2639 …if (asprintf(optstr, "%s [%s] callchain (one level, same as '+' hotkey, use 'e'/'c' for the whole … in add_callchain_toggle_opt()
2663 if (asprintf(optstr, "Browse map details") < 0) in add_map_opt()
2735 if (asprintf(optstr, "Run scripts for samples of thread [%s]%s", in add_script_opt_2()
2739 if (asprintf(optstr, "Run scripts for samples of symbol [%s]%s", in add_script_opt_2()
2743 if (asprintf(optstr, "Run scripts for all samples%s", tstr) < 0) in add_script_opt_2()
2794 if (asprintf(optstr, "Show context for individual samples %s", in add_res_sample_opt()
2825 if (asprintf(optstr, "Switch to another data file in PWD") < 0) in add_switch_opt()
2843 if (asprintf(optstr, "Exit") < 0) in add_exit_opt()
2878 if (asprintf(optstr, "Zoom %s Processor Socket %d", in add_socket_opt()