Home
last modified time | relevance | path

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

/Linux-v5.4/tools/perf/util/
Dconfig.c656 char *user_config; in perf_config_set__init() local
677 user_config = strdup(mkpath("%s/.perfconfig", home)); in perf_config_set__init()
678 if (user_config == NULL) { in perf_config_set__init()
683 if (stat(user_config, &st) < 0) { in perf_config_set__init()
692 pr_warning("File %s not owned by current user or root, ignoring it.", user_config); in perf_config_set__init()
697 ret = perf_config_from_file(collect_config, user_config, set); in perf_config_set__init()
700 free(user_config); in perf_config_set__init()
/Linux-v5.4/tools/perf/
Dbuiltin-config.c160 char *user_config = mkpath("%s/.perfconfig", getenv("HOME")); in cmd_config() local
177 config_exclusive_filename = user_config; in cmd_config()
180 config_filename = user_config; in cmd_config()