Home
last modified time | relevance | path

Searched refs:debug (Results 1 – 25 of 123) sorted by relevance

12345

/xnu-11215/osfmk/i386/
H A Dlocks_i386.c758 l->debug.lock_cpu = l->debug.unlock_cpu = 0; in usld_lock_init()
759 l->debug.lock_pc = l->debug.unlock_pc = INVALID_PC; in usld_lock_init()
760 l->debug.lock_thread = l->debug.unlock_thread = INVALID_THREAD; in usld_lock_init()
761 l->debug.duration[0] = l->debug.duration[1] = 0; in usld_lock_init()
762 l->debug.unlock_cpu = l->debug.unlock_cpu = 0; in usld_lock_init()
763 l->debug.unlock_pc = l->debug.unlock_pc = INVALID_PC; in usld_lock_init()
764 l->debug.unlock_thread = l->debug.unlock_thread = INVALID_THREAD; in usld_lock_init()
815 if ((l->debug.state & USLOCK_TAKEN) && l->debug.lock_thread && in usld_lock_pre()
861 l->debug.lock_pc = pc; in usld_lock_post()
905 l->debug.unlock_thread = l->debug.lock_thread; in usld_unlock()
[all …]
H A Dsimple_lock.h101 uslock_debug debug; member
/xnu-11215/tools/lldbmacros/tests/
H A Dlldb_test_process.py70 self.debug = args.GetValueForKey("debug").GetBooleanValue()
137 self.LOG.debug("overlap: %x +%d", offs, sz)
138 self.LOG.debug("raw read %x +%d", addr, size)
139 self.LOG.debug("final read %x +%d", start_addr - addr, sz)
174 if sp.debug:
189 runner = RunnerClass(verbosity=2 if sp.verbose else 1, debug=sp.debug,
194 debug=sp.debug)
H A Druntests.py97 runner = RunnerClass(verbosity=2 if args.verbose else 1, debug=args.debug,
101 runner = RunnerClass(verbosity=2 if args.verbose else 1, debug=args.debug)
141 "debug": args.debug,
/xnu-11215/bsd/kern/
H A Dsubr_eventhandler.c71 SYSCTL_INT(_kern_eventhandler, OID_AUTO, debug, CTLFLAG_RW | CTLFLAG_LOCKED,
108 evhlog(debug, "%s: init", __func__); in eventhandler_init()
134 evhlog(debug, "%s: registering event_type=%s\n", __func__, name); in eventhandler_register_internal()
148 evhlog2(debug, "%s: creating list \"%s\"", __func__, name); in eventhandler_register_internal()
168 …evhlog2(debug, "%s: adding item %p (function %p to \"%s\"", __func__, (void *)VM_KERNEL_ADDRPERM(e… in eventhandler_register_internal()
210 evhlog2(debug, "%s: removing item %p from \"%s\"", __func__, (void *)VM_KERNEL_ADDRPERM(ep), in eventhandler_deregister()
223 evhlog2(debug, "%s: marking item %p from \"%s\" as dead", __func__, in eventhandler_deregister()
230 evhlog2(debug, "%s: removing all items from \"%s\"", __func__, in eventhandler_deregister()
239 evhlog2(debug, "%s: marking all items from \"%s\" as dead", in eventhandler_deregister()
310 evhlog2(debug, "%s: pruning list \"%s\"", __func__, list->el_name); in eventhandler_prune_list()
/xnu-11215/tools/lldbmacros/usertaskdebugging/
H A Dgdbserver.py22 logging.debug('Starting gdb server.')
34 logging.debug("currentbytes: %s" % readBytes)
44 logging.debug('ignoring message: %s' % readBytes)
52 logging.debug("response: %s" % r_msg.getRSPByteData())
61 logging.debug('RCV:' + query)
71 logging.debug('Ignoring query %s' % query)
78 logging.debug('Ignoring breakpoint query %s' % query)
166 logging.debug('REGISTER INFO bytes = ' + bytes)
H A Dinterface.py14 logging.debug("created %s" % str(self))
20 …logging.debug("Initializing network interface for communication host: %s:%d", self.host_cfg, self.…
58 logging.debug('closing connection.')
H A Drsprotocol.py40 logging.debug("empty message %s"%bytedata)
44 logging.debug("Creating message from data %s" % bytedata[data_begin:data_end])
H A Duserprocess.py60 logging.debug("created thread id 0x%x of type %s, cputype 0x%x"
136 logging.debug("iterating over threads in process")
177 logging.debug("No register_info for number %d." % regnum)
/xnu-11215/tools/lldbmacros/tests/lldbmock/
H A Dmemorymock.py412 self.log.debug("Frozen mock missing attribute %s", key)
558 self.log.debug("setData refereshing mocks")
627 self.log.debug("Creating mock for %s", sbtype.GetName())
646 self.log.debug("Creating mock for %s", sbtype.GetName())
753 self.log.debug("Creating mock class for %s", sbtype.GetName())
759 self.log.debug("Found in cache %s", clsname)
798 self.log.debug("Created new mock class %s", clsname)
805 self.log.debug("Anon type not caching")
834 self.log.debug(f'Setting default for {prop}')
845 self.log.debug("Creating anon sub-mock %s at %d",
[all …]
/xnu-11215/tests/vm_memory_tests_src/
H A Dvm_tests.c46 if (debug) { in mach_vm_client()
194 if (debug) { in mach_vm_client()
213 if (debug) { in mach_vm_client()
248 if (debug) { in mach_server_make_memory_entry()
414 if (debug) { in mach_server_make_memory_entry()
432 if (debug) { in mach_server_read()
470 if (debug) { in mach_server_read()
532 if (debug) { in mach_server_read()
553 if (debug) { in mach_server_remap()
582 if (debug) { in mach_server_remap()
[all …]
H A Dmain.c19 boolean_t debug = TRUE; variable
145 debug = FALSE;
148 T_LOG("running with use4k=%d debug=%d", use4k, (int)debug);
/xnu-11215/bsd/net/
H A Dnecp.c499 int debug);
715 #define NECP_DATA_TRACE_ON(debug) (debug) argument
716 #define NECP_DATA_TRACE_POLICY_ON(debug) (debug > NECP_DATA_TRACE_LEVEL_BRIEF) argument
8337 debug); in necp_application_find_policy_match_internal()
9037 int debug, in necp_socket_check_policy()
9292 if (debug) { in necp_socket_check_policy()
10019 int debug) in necp_socket_find_policy_match_with_info_locked() argument
10171 debug, in necp_socket_find_policy_match_with_info_locked()
10643 debug); in necp_socket_find_policy_match()
12805 if (debug) { in necp_socket_is_allowed_to_send_recv_internal()
[all …]
H A Dppp_comp.h85 int unit, int hdrlen, int debug);
100 int unit, int hdrlen, int mru, int debug);
/xnu-11215/tools/lldbmacros/tests/lldbtest/
H A Dunittest.py91 def __init__(self, stream, descriptions, verbosity, debug = False): argument
94 self._debug_exception = debug
119 *, tb_locals = False, debug = False) -> None: argument
122 self._debug = debug
310 *, tb_locals = False, debug = False) -> None: argument
313 self._debug = debug
/xnu-11215/bsd/netinet6/
H A Dip6protosw.h187 (struct socket *so, int refcnt, void *debug);
189 (struct socket *so, int refcnt, void *debug);
H A Dnd6_prproxy.c569 nd6log2(debug, "%s: found incorrect prefix " in nd6_proxy_find_fwdroute()
653 nd6log2(debug, "%s: found prefix proxy route " in nd6_proxy_find_fwdroute()
675 nd6log2(debug, "%s: allocated prefix proxy " in nd6_proxy_find_fwdroute()
887 nd6log2(debug, "%s: sending NS who has %s on ALL\n", in nd6_prproxy_ns_output()
890 nd6log2(debug, "%s: sending NS who has %s on ALL " in nd6_prproxy_ns_output()
961 nd6log2(debug, in nd6_prproxy_ns_output()
1097 nd6log2(debug, in nd6_prproxy_ns_input()
1245 nd6log2(debug, in nd6_prproxy_na_input()
1252 nd6log2(debug, in nd6_prproxy_na_input()
/xnu-11215/bsd/sys/
H A Deventhandler.h126 evhlog2(debug, "eventhandler_invoke(\"" __STRING(name) "\")"); \
131 evhlog2(debug, "eventhandler_invoke: executing %p", \
195 evhlog2(debug, "eventhandler_deregister event_type=" __STRING(name) ); \
H A Dprotosw.h206 (struct socket *so, int refcnt, void *debug);
208 (struct socket *so, int refcnt, void *debug);
286 (struct socket *so, int refcnt, void *debug);
288 (struct socket *so, int refcnt, void *debug);
/xnu-11215/bsd/skywalk/lib/
H A Dnet_filter_event.c87 evhlog(debug, "%s: eventhandler saw event type=net_filter_event_state event_code=%s", in net_filter_event_callback()
117 evhlog(debug, "%s: eventhandler enqueuing event of type=net_filter_event_state event_code=%s", in net_filter_event_enqueue()
/xnu-11215/doc/building/
H A Dbound_checks.md30 expense of the quality of debug information.
46 To debug a panic in a build optimizing for code size, we can read disassembly
63 * `bound-checks-debug`: -fbounds-safety is enabled; failing bounds checks panic;
64 optimize for debug information at the detriment of efficient code.
67 instead of panicking; optimize for debug information at the detriment of efficient code.
89 For this step, you use `bound-checks-debug`. `bound-checks-debug` enables the
91 debugged bounds checks. You should also use bound-checks-debug for xnu changes
/xnu-11215/osfmk/kern/
H A Dkern_debug.modulemap6 // kern/debug.h gets its own top level module because it includes
22 header "kern/debug.h"
/xnu-11215/osfmk/mach_debug/
H A Dmach_debug.modulemap1 module Darwin.Mach.debug [system] {
/xnu-11215/tests/
H A Dsocket_bind_35685803.c18 static bool debug; variable
118 if (debug) { in bind_sockets()
/xnu-11215/tools/lldbmacros/
H A DREADME.md21 iii. Adding debug related 'printf's
34 Following are detailed steps on how to debug a panic'ed / NMI'ed machine (For the curious souls).
52 …* Once connected you can debug with basic lldb commands like print, bt, expr etc. The xnu debug ma…
56 debug=0x14e ncpus=2
108 |-xnu.py # xnu debug framework along with kgmhelp, xnudebug commands.
190 * now to reload that particular changes without killing your debug session do
426 * Add --debug to your macro invocation to provide more detailed/verbose exception output.
446 * Load the xnu debug macros from your custom location.
450 iii. Adding debug related 'printf's
456 - (lldb) xnudebug debug
[all …]

12345