Home
last modified time | relevance | path

Searched refs:watchpoint (Results 1 – 11 of 11) sorted by relevance

/Linux-v5.10/kernel/kcsan/
Dcore.c113 atomic_long_t *watchpoint; in find_watchpoint() local
122 watchpoint = &watchpoints[SLOT_IDX_FAST(slot, i)]; in find_watchpoint()
123 *encoded_watchpoint = atomic_long_read(watchpoint); in find_watchpoint()
133 return watchpoint; in find_watchpoint()
144 atomic_long_t *watchpoint; in insert_watchpoint() local
157 watchpoint = &watchpoints[SLOT_IDX(slot, i)]; in insert_watchpoint()
158 if (atomic_long_try_cmpxchg_relaxed(watchpoint, &expect_val, encoded_watchpoint)) in insert_watchpoint()
159 return watchpoint; in insert_watchpoint()
175 try_consume_watchpoint(atomic_long_t *watchpoint, long encoded_watchpoint) in try_consume_watchpoint() argument
177 return atomic_long_try_cmpxchg_relaxed(watchpoint, &encoded_watchpoint, CONSUMED_WATCHPOINT); in try_consume_watchpoint()
[all …]
Dencoding.h62 static __always_inline bool decode_watchpoint(long watchpoint, in decode_watchpoint() argument
67 if (watchpoint == INVALID_WATCHPOINT || in decode_watchpoint()
68 watchpoint == CONSUMED_WATCHPOINT) in decode_watchpoint()
71 *addr_masked = (unsigned long)watchpoint & WATCHPOINT_ADDR_MASK; in decode_watchpoint()
72 *size = ((unsigned long)watchpoint & WATCHPOINT_SIZE_MASK) >> WATCHPOINT_ADDR_BITS; in decode_watchpoint()
73 *is_write = !!((unsigned long)watchpoint & WATCHPOINT_WRITE_MASK); in decode_watchpoint()
/Linux-v5.10/Documentation/powerpc/
Dptrace.rst53 Sets a hardware breakpoint or watchpoint, according to the provided structure::
75 uint32_t condition_mode; /* break/watchpoint condition flags */
83 For instance, if the request is for a watchpoint with a condition, both the
91 watchpoint just created. This integer will be used in the PTRACE_DELHWDEBUG
107 - set a watchpoint which triggers on reads in the second watchpoint register::
117 - set a watchpoint which triggers only with a specific value::
137 - set a watchpoint in server processors (BookS)::
155 Takes an integer which identifies an existing breakpoint or watchpoint
157 corresponding breakpoint or watchpoint..
Ddawr-power9.rst27 software emulation of the watchpoint (which is slow).
45 support for the watchpoint, GDB will software emulate the watchpoint
49 host. The watchpoint will fail and GDB will fall back to software
52 If a guest is started on a POWER8 host, GDB will accept the watchpoint
55 guest is migrated to a POWER9 host, the watchpoint will be lost on the
56 POWER9. Loads and stores to the watchpoint locations will not be
57 trapped in GDB. The watchpoint is remembered, so if the guest is
/Linux-v5.10/lib/
DKconfig.kcsan32 KCSAN uses a watchpoint-based sampling approach to detect races.
103 specific watchpoint slot as specified in kernel/kcsan/encoding.h.
114 For tasks, the microsecond delay after setting up a watchpoint.
120 For interrupts, the microsecond delay after setting up a watchpoint.
133 int "Skip instructions before setting up watchpoint"
137 watchpoint is set up, i.e. one in KCSAN_WATCH_SKIP per-CPU
138 memory operations are used to set up a watchpoint. A smaller value
143 bool "Randomize watchpoint instruction skip count"
153 If enabled, a task that set up a watchpoint may be interrupted while
186 change while an access is being delayed on a watchpoint.
[all …]
/Linux-v5.10/Documentation/dev-tools/
Dkcsan.rst5 relies on compile-time instrumentation, and uses a watchpoint-based sampling
133 is observed via a watchpoint, but the data value of the memory location was
170 operations to skip, before another watchpoint is set up. Setting up
176 microsecond delay to stall execution after a watchpoint has been set up.
181 interrupts, the microsecond delay to stall execution after a watchpoint has
242 If we deliberately stall a memory access, while we have a watchpoint for its
243 address set up, and then observe the watchpoint to fire, two accesses to the
255 1. Check if a matching watchpoint exists; if yes, and at least one access is a
258 2. Periodically, if no matching watchpoint exists, set up a watchpoint and
265 marked accesses, but only to check if a watchpoint exists; i.e. KCSAN never
[all …]
/Linux-v5.10/Documentation/admin-guide/perf/
Darm-cmn.rst50 The PMU can also count watchpoint events to monitor specific flit
53 Since the watchpoint direction is otherwise implicit in the underlying
60 Where a watchpoint needs to match fields from both match groups on the
Darm-ccn.rst29 Crosspoint watchpoint-based events (special "event" value 0xfe)
/Linux-v5.10/Documentation/arm64/
Dtagged-pointers.rst60 response to watchpoint debug exceptions, where the tag information will
/Linux-v5.10/drivers/perf/
Darm-ccn.c432 CCN_EVENT_XP(watchpoint, CCN_EVENT_WATCHPOINT),
/Linux-v5.10/Documentation/security/keys/
Dcore.rst1082 watch_meta_removal_notification. The watchpoint ID will be set in the