Home
last modified time | relevance | path

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

/openbmc/qemu/system/
H A Dwatchpoint.c27 int flags, CPUWatchpoint **watchpoint) in cpu_watchpoint_insert() argument
58 if (watchpoint) { in cpu_watchpoint_insert()
59 *watchpoint = wp; in cpu_watchpoint_insert()
81 void cpu_watchpoint_remove_by_ref(CPUState *cpu, CPUWatchpoint *watchpoint) in cpu_watchpoint_remove_by_ref() argument
83 QTAILQ_REMOVE(&cpu->watchpoints, watchpoint, entry); in cpu_watchpoint_remove_by_ref()
85 tlb_flush_page(cpu, watchpoint->vaddr); in cpu_watchpoint_remove_by_ref()
87 g_free(watchpoint); in cpu_watchpoint_remove_by_ref()
H A Dmeson.build6 'watchpoint.c',
/openbmc/linux/kernel/kcsan/
H 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()
H A Dcore.c121 atomic_long_t *watchpoint; in find_watchpoint() local
130 watchpoint = &watchpoints[SLOT_IDX_FAST(slot, i)]; in find_watchpoint()
131 *encoded_watchpoint = atomic_long_read(watchpoint); in find_watchpoint()
141 return watchpoint; in find_watchpoint()
152 atomic_long_t *watchpoint; in insert_watchpoint() local
165 watchpoint = &watchpoints[SLOT_IDX(slot, i)]; in insert_watchpoint()
166 if (atomic_long_try_cmpxchg_relaxed(watchpoint, &expect_val, encoded_watchpoint)) in insert_watchpoint()
167 return watchpoint; in insert_watchpoint()
183 try_consume_watchpoint(atomic_long_t *watchpoint, long encoded_watchpoint) in try_consume_watchpoint() argument
185 return atomic_long_try_cmpxchg_relaxed(watchpoint, &encoded_watchpoint, CONSUMED_WATCHPOINT); in try_consume_watchpoint()
[all …]
/openbmc/linux/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 PPC_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.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
/openbmc/linux/Documentation/dev-tools/
H 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.
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 …]
/openbmc/linux/lib/
H 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 …]
/openbmc/linux/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)
/openbmc/qemu/include/hw/core/
H A Dcpu.h1124 int flags, CPUWatchpoint **watchpoint) in cpu_watchpoint_insert() argument
1145 int flags, CPUWatchpoint **watchpoint);
1148 void cpu_watchpoint_remove_by_ref(CPUState *cpu, CPUWatchpoint *watchpoint);
/openbmc/qemu/accel/tcg/
H A Dmeson.build23 'watchpoint.c',
/openbmc/linux/Documentation/arch/arm64/
H A Dtagged-pointers.rst69 For signals raised in response to watchpoint debug exceptions, the
/openbmc/qemu/docs/system/
H A Dreplay.rst219 #. if breakpoint or watchpoint was met
/openbmc/linux/tools/memory-model/Documentation/
H A Daccess-marking.txt314 for KCSAN because it is not always easy to tell hardware watchpoint to
/openbmc/linux/drivers/perf/
H A Darm-ccn.c427 CCN_EVENT_XP(watchpoint, CCN_EVENT_WATCHPOINT),
/openbmc/linux/Documentation/security/keys/
H A Dcore.rst1082 watch_meta_removal_notification. The watchpoint ID will be set in the
/openbmc/qemu/
H A DMAINTAINERS153 F: system/watchpoint.c
/openbmc/linux/
H A Dopengrok0.0.log[all...]