Searched refs:watchpoint (Results 1 – 12 of 12) sorted by relevance
/Linux-v5.15/kernel/kcsan/ |
D | core.c | 117 atomic_long_t *watchpoint; in find_watchpoint() local 126 watchpoint = &watchpoints[SLOT_IDX_FAST(slot, i)]; in find_watchpoint() 127 *encoded_watchpoint = atomic_long_read(watchpoint); in find_watchpoint() 137 return watchpoint; in find_watchpoint() 148 atomic_long_t *watchpoint; in insert_watchpoint() local 161 watchpoint = &watchpoints[SLOT_IDX(slot, i)]; in insert_watchpoint() 162 if (atomic_long_try_cmpxchg_relaxed(watchpoint, &expect_val, encoded_watchpoint)) in insert_watchpoint() 163 return watchpoint; in insert_watchpoint() 179 try_consume_watchpoint(atomic_long_t *watchpoint, long encoded_watchpoint) in try_consume_watchpoint() argument 181 return atomic_long_try_cmpxchg_relaxed(watchpoint, &encoded_watchpoint, CONSUMED_WATCHPOINT); in try_consume_watchpoint() [all …]
|
D | encoding.h | 69 static __always_inline bool decode_watchpoint(long watchpoint, in decode_watchpoint() argument 74 if (watchpoint == INVALID_WATCHPOINT || in decode_watchpoint() 75 watchpoint == CONSUMED_WATCHPOINT) in decode_watchpoint() 78 *addr_masked = (unsigned long)watchpoint & WATCHPOINT_ADDR_MASK; in decode_watchpoint() 79 *size = ((unsigned long)watchpoint & WATCHPOINT_SIZE_MASK) >> WATCHPOINT_ADDR_BITS; in decode_watchpoint() 80 *is_write = !!((unsigned long)watchpoint & WATCHPOINT_WRITE_MASK); in decode_watchpoint()
|
/Linux-v5.15/Documentation/powerpc/ |
D | ptrace.rst | 53 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..
|
D | dawr-power9.rst | 27 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.15/lib/ |
D | Kconfig.kcsan | 32 KCSAN uses a watchpoint-based sampling approach to detect races. 105 specific watchpoint slot as specified in kernel/kcsan/encoding.h. 116 For tasks, the microsecond delay after setting up a watchpoint. 122 For interrupts, the microsecond delay after setting up a watchpoint. 135 int "Skip instructions before setting up watchpoint" 139 watchpoint is set up, i.e. one in KCSAN_WATCH_SKIP per-CPU 140 memory operations are used to set up a watchpoint. A smaller value 145 bool "Randomize watchpoint instruction skip count" 156 If enabled, a task that set up a watchpoint may be interrupted while 185 change while an access is being delayed on a watchpoint. [all …]
|
/Linux-v5.15/Documentation/dev-tools/ |
D | kcsan.rst | 8 relies on compile-time instrumentation, and uses a watchpoint-based sampling 121 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.15/Documentation/admin-guide/perf/ |
D | arm-cmn.rst | 50 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
|
D | arm-ccn.rst | 29 Crosspoint watchpoint-based events (special "event" value 0xfe)
|
/Linux-v5.15/Documentation/arm64/ |
D | tagged-pointers.rst | 69 For signals raised in response to watchpoint debug exceptions, the
|
/Linux-v5.15/drivers/perf/ |
D | arm-ccn.c | 427 CCN_EVENT_XP(watchpoint, CCN_EVENT_WATCHPOINT),
|
/Linux-v5.15/tools/memory-model/Documentation/ |
D | access-marking.txt | 314 for KCSAN because it is not always easy to tell hardware watchpoint to
|
/Linux-v5.15/Documentation/security/keys/ |
D | core.rst | 1082 watch_meta_removal_notification. The watchpoint ID will be set in the
|