Home
last modified time | relevance | path

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

/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()
/tools/perf/util/
Dconfig.c680 char *user_config; in perf_config_set__init() local
701 user_config = strdup(mkpath("%s/.perfconfig", home)); in perf_config_set__init()
702 if (user_config == NULL) { in perf_config_set__init()
707 if (stat(user_config, &st) < 0) { in perf_config_set__init()
716 pr_warning("File %s not owned by current user or root, ignoring it.", user_config); in perf_config_set__init()
721 ret = perf_config_from_file(collect_config, user_config, set); in perf_config_set__init()
724 free(user_config); in perf_config_set__init()