Searched refs:MAXPATHLEN (Results 1 – 8 of 8) sorted by relevance
/linux-6.6.21/tools/perf/util/ |
D | cputopo.c | 38 char filename[MAXPATHLEN]; in build_cpu_topology() 45 scnprintf(filename, MAXPATHLEN, PACKAGE_CPUS_FMT, in build_cpu_topology() 48 scnprintf(filename, MAXPATHLEN, PACKAGE_CPUS_FMT_OLD, in build_cpu_topology() 80 scnprintf(filename, MAXPATHLEN, DIE_CPUS_FMT, in build_cpu_topology() 108 scnprintf(filename, MAXPATHLEN, CORE_CPUS_FMT, in build_cpu_topology() 111 scnprintf(filename, MAXPATHLEN, CORE_CPUS_FMT_OLD, in build_cpu_topology() 224 char filename[MAXPATHLEN]; in has_die_topology() 234 scnprintf(filename, MAXPATHLEN, DIE_CPUS_FMT, in has_die_topology() 317 char str[MAXPATHLEN]; in load_numa_node() 327 scnprintf(str, MAXPATHLEN, NODE_MEMINFO_FMT, in load_numa_node() [all …]
|
D | tracepoint.c | 14 char evt_path[MAXPATHLEN]; in tp_event_has_id() 17 snprintf(evt_path, MAXPATHLEN, "%s/%s/id", dir_path, evt_dir->d_name); in tp_event_has_id() 33 char evt_path[MAXPATHLEN]; in is_valid_tracepoint() 49 snprintf(evt_path, MAXPATHLEN, "%s:%s", in is_valid_tracepoint()
|
D | config.c | 38 char buildid_dir[MAXPATHLEN]; /* root dir for buildid, binary cache */ 430 strncpy(buildid_dir, dir, MAXPATHLEN-1); in perf_buildid_config() 431 buildid_dir[MAXPATHLEN-1] = '\0'; in perf_buildid_config() 894 scnprintf(buildid_dir, MAXPATHLEN, "%s", dir); in set_buildid_dir() 901 snprintf(buildid_dir, MAXPATHLEN, "%s/%s", in set_buildid_dir() 904 strncpy(buildid_dir, DEBUG_CACHE_DIR, MAXPATHLEN-1); in set_buildid_dir() 906 buildid_dir[MAXPATHLEN-1] = '\0'; in set_buildid_dir()
|
D | print-events.c | 96 char evt_path[MAXPATHLEN]; in print_tracepoint_events() 110 snprintf(evt_path, MAXPATHLEN, "%s:%s", in print_tracepoint_events()
|
D | trace-event-info.c | 411 char evt_path[MAXPATHLEN]; in tracepoint_id_to_path() 428 scnprintf(evt_path, MAXPATHLEN, "%s/%s/id", dir_path, in tracepoint_id_to_path()
|
D | header.c | 559 char pbuf[MAXPATHLEN], *buf; in write_cmdline() 563 buf = perf_exe(pbuf, MAXPATHLEN); in write_cmdline()
|
/linux-6.6.21/tools/include/nolibc/ |
D | types.h | 82 #ifndef MAXPATHLEN 83 #define MAXPATHLEN (PATH_MAX) macro
|
/linux-6.6.21/tools/perf/ |
D | builtin-script.c | 3326 buf = malloc(3 * MAXPATHLEN + BUFSIZ); in list_available_scripts() 3332 script_path = buf + MAXPATHLEN; in list_available_scripts() 3333 lang_path = buf + 2 * MAXPATHLEN; in list_available_scripts() 3334 first_half = buf + 3 * MAXPATHLEN; in list_available_scripts() 3336 snprintf(scripts_path, MAXPATHLEN, "%s/scripts", get_argv_exec_path()); in list_available_scripts() 3349 scnprintf(lang_path, MAXPATHLEN, "%s/%s/bin", scripts_path, in list_available_scripts() 3359 scnprintf(script_path, MAXPATHLEN, "%s/%s", in list_available_scripts() 3419 char filename[MAXPATHLEN], evname[128]; in check_ev_match() 3425 scnprintf(filename, MAXPATHLEN, "%s/bin/%s-record", dir_name, scriptname); in check_ev_match() 3479 char scripts_path[MAXPATHLEN], lang_path[MAXPATHLEN]; in find_scripts() [all …]
|