Home
last modified time | relevance | path

Searched refs:cache (Results 1 – 25 of 30) sorted by relevance

12

/tools/perf/Documentation/
Dperf-buildid-cache.txt1 perf-buildid-cache(1)
6 perf-buildid-cache - Manage build-id cache.
11 'perf buildid-cache <options>'
15 This command manages the build-id cache. It can add, remove, update and purge
16 files to/from the cache. In the future it should as well set upper limits for
17 the space used by the cache, etc.
19 record it along with the buildid-cache, which will be used by perf-probe.
26 Add specified file to the cache.
29 Add specified kcore file to the cache. For the current host that is
31 running 'perf buildid-cache' as root may update root's build-id cache
[all …]
Dperf.txt27 Setup buildid cache directory. It has higher priority than
Dperf-config.txt189 cache location, or to disable it altogether. If you want to disable it,
460 This option can be 'cache', 'no-cache' or 'skip'.
461 'cache' is to post-process data and save/update the binaries into
462 the build-id cache (in ~/.debug). This is the default.
463 But if this option is 'no-cache', it will not update the build-id cache.
464 'skip' skips post-processing and does not update the cache.
Dperf-list.txt11 'perf list' [--no-desc] [--long-desc] [hw|sw|cache|tracepoint|pmu|event_glob]
231 . 'hw' or 'hardware' to list hardware events such as cache-misses, etc.
235 . 'cache' or 'hwcache' to list hardware cache events such as L1-dcache-loads, etc.
254 . '--raw-dump [hw|sw|cache|tracepoint|pmu|event_glob]', shows the raw-dump of
Dperf-probe.txt76 When this is used with --cache, perf shows all cached probes instead of
124 --cache::
126 are also stored in the cache file.
175 …on which SDT events are defined) must be scanned by linkperf:perf-buildid-cache[1] to make SDT eve…
265 linkperf:perf-trace[1], linkperf:perf-record[1], linkperf:perf-buildid-cache[1]
/tools/perf/util/
Ddso.c574 struct rb_root *root = &dso->data.cache; in dso_cache__free()
579 struct dso_cache *cache; in dso_cache__free() local
581 cache = rb_entry(next, struct dso_cache, rb_node); in dso_cache__free()
582 next = rb_next(&cache->rb_node); in dso_cache__free()
583 rb_erase(&cache->rb_node, root); in dso_cache__free()
584 free(cache); in dso_cache__free()
591 const struct rb_root *root = &dso->data.cache; in dso_cache__find()
594 struct dso_cache *cache; in dso_cache__find() local
600 cache = rb_entry(parent, struct dso_cache, rb_node); in dso_cache__find()
601 end = cache->offset + DSO__DATA_CACHE_SIZE; in dso_cache__find()
[all …]
Denv.c88 void cpu_cache_level__free(struct cpu_cache_level *cache) in cpu_cache_level__free() argument
90 free(cache->type); in cpu_cache_level__free()
91 free(cache->map); in cpu_cache_level__free()
92 free(cache->size); in cpu_cache_level__free()
Dordered-events.c92 struct list_head *cache = &oe->cache; in alloc_event() local
100 if (!list_empty(cache)) { in alloc_event()
101 new = list_entry(cache->next, struct ordered_event, list); in alloc_event()
150 list_move(&event->list, &oe->cache); in ordered_events__delete()
294 INIT_LIST_HEAD(&oe->cache); in ordered_events__init()
Denv.h66 void cpu_cache_level__free(struct cpu_cache_level *cache);
Dordered-events.h34 struct list_head cache; member
Dbuild-id.c618 struct probe_cache *cache; in build_id_cache__add_sdt_cache() local
621 cache = probe_cache__new(sbuild_id); in build_id_cache__add_sdt_cache()
622 if (!cache) in build_id_cache__add_sdt_cache()
625 ret = probe_cache__scan_sdt(cache, realname); in build_id_cache__add_sdt_cache()
628 if (probe_cache__commit(cache) < 0) in build_id_cache__add_sdt_cache()
631 probe_cache__delete(cache); in build_id_cache__add_sdt_cache()
Dheader.c906 static int cpu_cache_level__read(struct cpu_cache_level *cache, u32 cpu, u16 level) in cpu_cache_level__read() argument
919 if (sysfs__read_int(file, (int *) &cache->level)) in cpu_cache_level__read()
923 if (sysfs__read_int(file, (int *) &cache->line_size)) in cpu_cache_level__read()
927 if (sysfs__read_int(file, (int *) &cache->sets)) in cpu_cache_level__read()
931 if (sysfs__read_int(file, (int *) &cache->ways)) in cpu_cache_level__read()
935 if (sysfs__read_str(file, &cache->type, &len)) in cpu_cache_level__read()
938 cache->type[len] = 0; in cpu_cache_level__read()
939 cache->type = rtrim(cache->type); in cpu_cache_level__read()
942 if (sysfs__read_str(file, &cache->size, &len)) { in cpu_cache_level__read()
943 free(cache->type); in cpu_cache_level__read()
[all …]
Dprobe-event.c2535 if (probe_conf.cache) in show_perf_probe_events()
2718 struct probe_cache *cache = NULL; in __add_probe_trace_events() local
2760 if (ret == 0 && probe_conf.cache) { in __add_probe_trace_events()
2761 cache = probe_cache__new(pev->target); in __add_probe_trace_events()
2762 if (!cache || in __add_probe_trace_events()
2763 probe_cache__add_entry(cache, pev, tevs, ntevs) < 0 || in __add_probe_trace_events()
2764 probe_cache__commit(cache) < 0) in __add_probe_trace_events()
2766 probe_cache__delete(cache); in __add_probe_trace_events()
3107 struct probe_cache *cache; in find_cached_events() local
3113 cache = probe_cache__new(target); in find_cached_events()
[all …]
Dprobe-event.h15 bool cache; member
Dparse-events.l260 cache-references { return sym(yyscanner, PERF_TYPE_HARDWARE, PERF_COUNT_HW_CACHE_REFERENCES); }
261 cache-misses { return sym(yyscanner, PERF_TYPE_HARDWARE, PERF_COUNT_HW_CACHE_MISSES); }
/tools/perf/tests/
Dsdt.c57 struct probe_cache *cache = probe_cache__new(target); in search_cached_probe() local
60 if (!cache) { in search_cached_probe()
65 if (!probe_cache__find_by_name(cache, group, event)) { in search_cached_probe()
69 probe_cache__delete(cache); in search_cached_probe()
/tools/perf/tests/attr/
Dtest-record-group-sampling3 args = -e '{cycles,cache-misses}:S' kill >/dev/null 2>&1
16 # cache-misses
/tools/perf/
Dbuiltin-probe.c373 struct probe_cache *cache; in del_perf_probe_caches() local
386 cache = probe_cache__new(nd->s); in del_perf_probe_caches()
387 if (!cache) in del_perf_probe_caches()
389 if (probe_cache__filter_purge(cache, filter) < 0 || in del_perf_probe_caches()
390 probe_cache__commit(cache) < 0) in del_perf_probe_caches()
392 probe_cache__delete(cache); in del_perf_probe_caches()
409 if (probe_conf.cache) in perf_del_probe_events()
554 OPT_BOOLEAN(0, "cache", &probe_conf.cache, "Manipulate probe cache"), in __cmd_probe()
Dcommand-list.txt8 perf-buildid-cache mainporcelain common
DBuild9 perf-y += builtin-buildid-cache.o
Dperf-with-kcore.sh59 KCORE=$(($SUDO "$PERF" buildid-cache -v -f -k /proc/kcore >/dev/null) 2>&1)
/tools/usb/usbip/
DINSTALL27 It can also use an optional file (typically called `config.cache'
28 and enabled with `--cache-file=config.cache' or simply `-C') that saves
31 cache files.
36 be considered for the next release. If you are using the cache, and at
37 some point `config.cache' contains results you don't want to keep, you
215 `--cache-file=FILE'
216 Enable the cache: use and save the results of the tests in FILE,
217 traditionally `config.cache'. FILE defaults to `/dev/null' to
220 `--config-cache'
222 Alias for `--cache-file=config.cache'.
D.gitignore4 autom4te.cache/
/tools/testing/fault-injection/
Dfailcmd.sh48 --cache-filter=value
91 LONGOPTS=$LONGOPTS,ignore-gfp-wait:,cache-filter:
185 --cache-filter)
/tools/testing/selftests/x86/
Dtest_vsyscall.c175 void* cache) in sys_getcpu() argument
177 return syscall(SYS_getcpu, cpu, node, cache); in sys_getcpu()

12