Home
last modified time | relevance | path

Searched refs:lock_stat (Results 1 – 4 of 4) sorted by relevance

/tools/perf/util/
Dlock-contention.h17 struct lock_stat { struct
68 struct lock_stat *lock_stat_find(u64 addr);
69 struct lock_stat *lock_stat_findnew(u64 addr, const char *name, int flags);
Dbpf_lock_contention.c34 bpf_map__set_max_entries(skel->maps.lock_stat, con->map_nr_entries); in lock_contention_prepare()
254 struct lock_stat *st = NULL; in lock_contention_read()
259 fd = bpf_map__fd(skel->maps.lock_stat); in lock_contention_read()
/tools/perf/
Dbuiltin-lock.c174 static int lock_stat_key_ ## member(struct lock_stat *one, \
175 struct lock_stat *two) \
186 static int lock_stat_key_wait_time_min(struct lock_stat *one, in SINGLE_KEY()
187 struct lock_stat *two) in SINGLE_KEY()
210 int (*key)(struct lock_stat*, struct lock_stat*);
212 void (*print)(struct lock_key*, struct lock_stat*);
250 struct lock_stat *ls) \
257 struct lock_stat *ls) \
269 struct lock_stat *ls) in PRINT_KEY()
282 static int (*compare)(struct lock_stat *, struct lock_stat *);
[all …]
/tools/perf/util/bpf_skel/
Dlock_contention.bpf.c51 } lock_stat SEC(".maps");
379 data = bpf_map_lookup_elem(&lock_stat, &key); in contention_end()
399 err = bpf_map_update_elem(&lock_stat, &key, &first, BPF_NOEXIST); in contention_end()