Home
last modified time | relevance | path

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

/linux-6.3-rc2/kernel/kcsan/
A Dencoding.h69 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()
A Dcore.c121 atomic_long_t *watchpoint; in find_watchpoint() local
141 return watchpoint; in find_watchpoint()
152 atomic_long_t *watchpoint; in insert_watchpoint() local
167 return watchpoint; in insert_watchpoint()
450 atomic_long_t *watchpoint, in kcsan_found_watchpoint() argument
522 atomic_long_t *watchpoint; in kcsan_setup_watchpoint() local
583 if (watchpoint == NULL) { in kcsan_setup_watchpoint()
639 if (!consume_watchpoint(watchpoint)) { in kcsan_setup_watchpoint()
689 remove_watchpoint(watchpoint); in kcsan_setup_watchpoint()
712 atomic_long_t *watchpoint; in check_access() local
[all …]
/linux-6.3-rc2/Documentation/powerpc/
A 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..
A Ddawr-power9.rst35 software emulation of the watchpoint (which is slow).
53 support for the watchpoint, GDB will software emulate the watchpoint
57 host. The watchpoint will fail and GDB will fall back to software
60 If a guest is started on a POWER8 host, GDB will accept the watchpoint
63 guest is migrated to a POWER9 host, the watchpoint will be lost on the
64 POWER9. Loads and stores to the watchpoint locations will not be
65 trapped in GDB. The watchpoint is remembered, so if the guest is
/linux-6.3-rc2/Documentation/dev-tools/
A Dkcsan.rst8 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.
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
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
266 sets up a watchpoint on marked accesses. By never setting up watchpoints for
326 longs to encode watchpoint information, which is negligible.
[all …]
/linux-6.3-rc2/lib/
A DKconfig.kcsan22 KCSAN uses a watchpoint-based sampling approach to detect races.
95 specific watchpoint slot as specified in kernel/kcsan/encoding.h.
106 For tasks, the microsecond delay after setting up a watchpoint.
112 For interrupts, the microsecond delay after setting up a watchpoint.
125 int "Skip instructions before setting up watchpoint"
129 watchpoint is set up, i.e. one in KCSAN_SKIP_WATCH per-CPU
130 memory operations are used to set up a watchpoint. A smaller value
135 bool "Randomize watchpoint instruction skip count"
146 If enabled, a task that set up a watchpoint may be interrupted while
175 change while an access is being delayed on a watchpoint.
[all …]
/linux-6.3-rc2/Documentation/admin-guide/perf/
A 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
A Darm-ccn.rst29 Crosspoint watchpoint-based events (special "event" value 0xfe)
/linux-6.3-rc2/Documentation/arm64/
A Dtagged-pointers.rst69 For signals raised in response to watchpoint debug exceptions, the
/linux-6.3-rc2/drivers/perf/
A Darm-ccn.c427 CCN_EVENT_XP(watchpoint, CCN_EVENT_WATCHPOINT),
/linux-6.3-rc2/tools/memory-model/Documentation/
A Daccess-marking.txt314 for KCSAN because it is not always easy to tell hardware watchpoint to
/linux-6.3-rc2/Documentation/security/keys/
A Dcore.rst1082 watch_meta_removal_notification. The watchpoint ID will be set in the

Completed in 26 milliseconds