Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/kernel/kcsan/
H A Dcore.c112 atomic_long_t *watchpoint; in find_watchpoint() local
121 watchpoint = &watchpoints[SLOT_IDX_FAST(slot, i)]; in find_watchpoint()
122 *encoded_watchpoint = atomic_long_read(watchpoint); in find_watchpoint()
132 return watchpoint; in find_watchpoint()
143 atomic_long_t *watchpoint; in insert_watchpoint() local
156 watchpoint = &watchpoints[SLOT_IDX(slot, i)]; in insert_watchpoint()
157 if (atomic_long_try_cmpxchg_relaxed(watchpoint, &expect_val, encoded_watchpoint)) in insert_watchpoint()
158 return watchpoint; in insert_watchpoint()
174 try_consume_watchpoint(atomic_long_t *watchpoint, long encoded_watchpoint) in try_consume_watchpoint() argument
176 return atomic_long_try_cmpxchg_relaxed(watchpoint, &encoded_watchpoint, CONSUMED_WATCHPOINT); in try_consume_watchpoint()
[all …]
H A 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()
/OK3568_Linux_fs/kernel/Documentation/powerpc/
H 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..
H A 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
/OK3568_Linux_fs/kernel/lib/
H A 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 …]
/OK3568_Linux_fs/kernel/Documentation/dev-tools/
H A 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 …]
/OK3568_Linux_fs/kernel/Documentation/admin-guide/perf/
H 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
H A Darm-ccn.rst29 Crosspoint watchpoint-based events (special "event" value 0xfe)
/OK3568_Linux_fs/kernel/Documentation/arm64/
H A Dtagged-pointers.rst69 For signals raised in response to watchpoint debug exceptions, the
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/share/info/
H A Dgdb.info3363 difficult or impossible to set a breakpoint, or watchpoint, on an
3425 A "watchpoint" is a special breakpoint that stops your program when
3431 can manage a watchpoint like any other breakpoint: you enable, disable,
3446 GDB assigns a number to each breakpoint, watchpoint, or catchpoint
3611 about the specified breakpoint(s) (or watchpoint(s) or
3617 Breakpoint, watchpoint, or catchpoint.
3861 You can use a watchpoint to stop execution whenever the value of an
3877 You can set a watchpoint on an expression even if the expression can
3878 not be evaluated yet. For instance, you can set a watchpoint on
3898 Set a watchpoint for an expression. GDB will break when the
[all …]
H A Dannotate.info643 The program hit watchpoint number NUMBER.
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/share/info/
H A Dgdb.info3363 difficult or impossible to set a breakpoint, or watchpoint, on an
3425 A "watchpoint" is a special breakpoint that stops your program when
3431 can manage a watchpoint like any other breakpoint: you enable, disable,
3446 GDB assigns a number to each breakpoint, watchpoint, or catchpoint
3611 about the specified breakpoint(s) (or watchpoint(s) or
3617 Breakpoint, watchpoint, or catchpoint.
3861 You can use a watchpoint to stop execution whenever the value of an
3877 You can set a watchpoint on an expression even if the expression can
3878 not be evaluated yet. For instance, you can set a watchpoint on
3898 Set a watchpoint for an expression. GDB will break when the
[all …]
H A Dannotate.info643 The program hit watchpoint number NUMBER.
/OK3568_Linux_fs/kernel/drivers/perf/
H A Darm-ccn.c432 CCN_EVENT_XP(watchpoint, CCN_EVENT_WATCHPOINT),
/OK3568_Linux_fs/kernel/Documentation/security/keys/
H A Dcore.rst1082 watch_meta_removal_notification. The watchpoint ID will be set in the