Home
last modified time | relevance | path

Searched refs:old_str (Results 1 – 3 of 3) sorted by relevance

/linux-6.6.21/tools/perf/util/
Dpmu.c437 static bool assign_str(const char *name, const char *field, char **old_str, in assign_str() argument
440 if (!*old_str && new_str) { in assign_str()
441 *old_str = strdup(new_str); in assign_str()
445 if (!new_str || !strcasecmp(*old_str, new_str)) in assign_str()
449 name, field, *old_str, new_str); in assign_str()
450 zfree(old_str); in assign_str()
451 *old_str = strdup(new_str); in assign_str()
/linux-6.6.21/kernel/printk/
Dprintk.c209 char old_str[DEVKMSG_STR_MAX_SIZE]; in devkmsg_sysctl_set_loglvl() local
218 strncpy(old_str, devkmsg_log_str, DEVKMSG_STR_MAX_SIZE); in devkmsg_sysctl_set_loglvl()
236 strncpy(devkmsg_log_str, old_str, DEVKMSG_STR_MAX_SIZE); in devkmsg_sysctl_set_loglvl()
/linux-6.6.21/tools/perf/ui/browsers/
Dhists.c988 char *value_str, char *old_str) in hist_browser__folded_callchain_str() argument
996 if (old_str) { in hist_browser__folded_callchain_str()
997 if (asprintf(&new, "%s%s%s", old_str, in hist_browser__folded_callchain_str()