Home
last modified time | relevance | path

Searched refs:alloc_str (Results 1 – 2 of 2) sorted by relevance

/tools/perf/ui/stdio/
Dhist.c57 char bf[1024], *alloc_str = NULL; in ipchain__fprintf_graph() local
81 if (asprintf(&alloc_str, "%s%s", str, buf) < 0) in ipchain__fprintf_graph()
84 str = alloc_str; in ipchain__fprintf_graph()
89 free(alloc_str); in ipchain__fprintf_graph()
/tools/perf/ui/browsers/
Dhists.c851 char bf[1024], *alloc_str; in hist_browser__show_callchain_list() local
861 alloc_str = NULL; in hist_browser__show_callchain_list()
881 if (asprintf(&alloc_str, "%s %s", buf, str) < 0) in hist_browser__show_callchain_list()
884 str = alloc_str; in hist_browser__show_callchain_list()
888 free(alloc_str); in hist_browser__show_callchain_list()