Home
last modified time | relevance | path

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

/linux-6.15/tools/perf/util/
H A Dlock-contention.h21 struct lock_stat { struct
158 struct lock_stat *lock_stat_find(u64 addr);
159 struct lock_stat *lock_stat_findnew(u64 addr, const char *name, int flags);
171 struct lock_stat *pop_owner_stack_trace(struct lock_contention *con);
192 static inline struct lock_stat *pop_owner_stack_trace(struct lock_contention *con __maybe_unused) in pop_owner_stack_trace()
H A Dlock-contention.c58 struct lock_stat *lock_stat_find(u64 addr) in lock_stat_find()
61 struct lock_stat *ret; in lock_stat_find()
70 struct lock_stat *lock_stat_findnew(u64 addr, const char *name, int flags) in lock_stat_findnew()
73 struct lock_stat *ret, *new; in lock_stat_findnew()
80 new = zalloc(sizeof(struct lock_stat)); in lock_stat_findnew()
H A Dbpf_lock_contention.c126 bpf_map__set_max_entries(skel->maps.lock_stat, con->map_nr_entries); in lock_contention_prepare()
397 stat_fd = bpf_map__fd(skel->maps.lock_stat); in account_end_timestamp()
552 struct lock_stat *pop_owner_stack_trace(struct lock_contention *con) in pop_owner_stack_trace()
560 struct lock_stat *st = NULL; in pop_owner_stack_trace()
578 st = zalloc(sizeof(struct lock_stat)); in pop_owner_stack_trace()
614 struct lock_stat *st = NULL; in lock_contention_read()
619 fd = bpf_map__fd(skel->maps.lock_stat); in lock_contention_read()
/linux-6.15/tools/perf/
H A Dbuiltin-lock.c192 int (*key)(struct lock_stat*, struct lock_stat*);
264 static int (*compare)(struct lock_stat *, struct lock_stat *);
381 struct lock_stat *p; in combine_lock_stats()
422 int (*bigger)(struct lock_stat *, struct lock_stat *)) in insert_to() argument
426 struct lock_stat *p; in insert_to()
567 struct lock_stat *ls; in report_lock_acquire_event()
642 struct lock_stat *ls; in report_lock_acquired_event()
708 struct lock_stat *ls; in report_lock_contended_event()
766 struct lock_stat *ls; in report_lock_release_event()
967 struct lock_stat *ls; in report_lock_contention_begin_event()
[all …]
/linux-6.15/Documentation/locking/
H A Dlockstat.rst93 # echo 1 >/proc/sys/kernel/lock_stat
97 # echo 0 >/proc/sys/kernel/lock_stat
104 # less /proc/lock_stat
106 01 lock_stat version 0.4
190 # grep : /proc/lock_stat | head
204 # echo 0 > /proc/lock_stat
/linux-6.15/Documentation/translations/it_IT/locking/
H A Dlockstat.rst114 # echo 1 >/proc/sys/kernel/lock_stat
118 # echo 0 >/proc/sys/kernel/lock_stat
125 # less /proc/lock_stat
127 01 lock_stat version 0.4
216 # grep : /proc/lock_stat | head
230 # echo 0 > /proc/lock_stat
/linux-6.15/tools/perf/util/bpf_skel/
H A Dlock_contention.bpf.c84 } lock_stat SEC(".maps");
738 data = bpf_map_lookup_elem(&lock_stat, &key); in contention_end()
777 err = bpf_map_update_elem(&lock_stat, &key, &first, BPF_NOEXIST); in contention_end()
781 data = bpf_map_lookup_elem(&lock_stat, &key); in contention_end()
/linux-6.15/kernel/locking/
H A Dlockdep.c77 static int lock_stat = 1; variable
78 module_param(lock_stat, int, 0644);
80 #define lock_stat 0 macro
97 .data = &lock_stat,
352 if (!lock_stat) in lock_release_holdtime()
6134 if (unlikely(!lock_stat || !lockdep_enabled())) in lock_contended()
6152 if (unlikely(!lock_stat || !lockdep_enabled())) in lock_acquired()
/linux-6.15/drivers/media/dvb-frontends/drx39xyj/
H A Ddrxj.c1019 ctrl_lock_status(struct drx_demod_instance *demod, enum drx_lock_status *lock_stat);
10781 ctrl_lock_status(struct drx_demod_instance *demod, enum drx_lock_status *lock_stat) in ctrl_lock_status() argument
10797 if ((demod == NULL) || (lock_stat == NULL)) in ctrl_lock_status()
10804 *lock_stat = DRX_NOT_LOCKED; in ctrl_lock_status()
10840 *lock_stat = DRX_NOT_LOCKED; in ctrl_lock_status()
10842 *lock_stat = DRXJ_DEMOD_LOCK; in ctrl_lock_status()
10846 *lock_stat = DRX_LOCKED; in ctrl_lock_status()
10850 *lock_stat = DRX_NEVER_LOCK; in ctrl_lock_status()
H A Ddrx_driver.h200 lock_stat);