Searched refs:user_config (Results 1 – 2 of 2) sorted by relevance
160 char *user_config = mkpath("%s/.perfconfig", getenv("HOME")); in cmd_config() local177 config_exclusive_filename = user_config; in cmd_config()180 config_filename = user_config; in cmd_config()
680 char *user_config; in perf_config_set__init() local701 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()