Home
last modified time | relevance | path

Searched refs:cached (Results 1 – 14 of 14) sorted by relevance

/tools/lib/api/fs/
A Dcgroup.c17 static struct cgroupfs_cache_entry *cached; variable
27 if (cached && !strcmp(cached->subsys, subsys)) { in cgroupfs_find_mountpoint()
28 if (strlen(cached->mountpoint) < maxlen) { in cgroupfs_find_mountpoint()
29 strcpy(buf, cached->mountpoint); in cgroupfs_find_mountpoint()
94 if (!cached) in cgroupfs_find_mountpoint()
95 cached = calloc(1, sizeof(*cached)); in cgroupfs_find_mountpoint()
97 if (cached) { in cgroupfs_find_mountpoint()
98 strncpy(cached->subsys, subsys, sizeof(cached->subsys) - 1); in cgroupfs_find_mountpoint()
99 strcpy(cached->mountpoint, mountpoint); in cgroupfs_find_mountpoint()
/tools/perf/util/
A Dsmt.c9 static bool cached; in smt_on() local
13 if (cached) in smt_on()
21 cached = true; in smt_on()
A Dutil.c63 static bool cached; in sysctl__nmi_watchdog_enabled() local
67 if (cached) in sysctl__nmi_watchdog_enabled()
74 cached = true; in sysctl__nmi_watchdog_enabled()
A Dtool_pmu.c323 static bool has_pmem, cached; in has_pmem() local
327 if (!cached) { in has_pmem()
330 cached = true; in has_pmem()
A Dsrcline.c509 static bool cached; in addr2line_configure() local
512 if (!cached) { in addr2line_configure()
525 cached = true; in addr2line_configure()
530 cached = true; in addr2line_configure()
/tools/perf/arch/x86/util/
A Dtsc.c63 static bool cached; in arch_get_tsc_freq() local
67 if (cached) in arch_get_tsc_freq()
70 cached = true; in arch_get_tsc_freq()
A Dtopdown.c16 static bool cached; in topdown_sys_has_perf_metrics() local
19 if (cached) in topdown_sys_has_perf_metrics()
32 cached = true; in topdown_sys_has_perf_metrics()
/tools/testing/selftests/drivers/net/lib/py/
A Denv.py250 cached = self._required_cmd.get(comm, {})
251 if cached.get(key) is None:
252 cached[key] = cmd("command -v -- " + comm, fail=False,
254 self._required_cmd[comm] = cached
255 return cached[key]
/tools/perf/Documentation/
A Dperf-buildid-cache.txt45 Remove a cached binary which has same build-id of specified file
49 Purge all cached binaries including older caches which have specified
53 Purge all cached binaries. This will flush out entire cache.
A Dperf-probe.txt76 When this is used with --cache, perf shows all cached probes instead of
127 (With --list) Show cached probes.
128 (With --del) Remove cached probes.
168 4) Pre-defined SDT events or cached event with name
179 …ame which is defined by user SDT (Statically Defined Tracing) or the pre-cached probes with event …
180 …are defined) must be scanned by linkperf:perf-buildid-cache[1] to make SDT events as cached events.
A Dperf-bench.txt170 cached by glibc.
/tools/testing/selftests/ftrace/test.d/event/
A Devent-mod.tc164 echo There should be no :mod: cached events
/tools/testing/selftests/net/
A Dpmtu.sh1470 run_cmd ${ns_a} ip route flush cached ${dst}
1471 run_cmd ${ns_b} ip route flush cached ${dst}
1472 run_cmd ${ns_c} ip route flush cached ${dst}
/tools/power/x86/turbostat/
A Dturbostat.c9479 static int cached; in perf_has_hybrid_devices() local
9481 if (cached > 0) in perf_has_hybrid_devices()
9484 if (cached < 0) in perf_has_hybrid_devices()
9488 cached = -1; in perf_has_hybrid_devices()
9493 cached = -1; in perf_has_hybrid_devices()
9497 cached = 1; in perf_has_hybrid_devices()

Completed in 35 milliseconds