Home
last modified time | relevance | path

Searched refs:logging (Results 1 – 25 of 108) sorted by relevance

12345

/linux/tools/usb/
H A Dp9_fwd.py6 import logging
33 if not logging.root.isEnabledFor(logging.TRACE):
41 logging.root.log(logging.TRACE, "%s", line)
62 logging.info(f"found device: {dev.bus}/{dev.address} located at {path_from_usb_dev(dev)}")
81 logging.info(f"claiming interface:\n{usb9pfs}")
93 logging.info("interface claimed")
103 logging.info("connected to server")
110 logging.log(logging.TRACE, "c2s: reading")
113 logging.log(logging.TRACE, "c2s: reading timed out")
117 logging.debug("c2s: reading failed with %s, retrying", repr(e))
[all …]
/linux/tools/docs/
H A Dchecktransupdate.py31 import logging
48 logging.debug(command)
55 logging.debug("Result: %s", result[0])
71 logging.debug("tracked origin commit id: %s", o_from_t["hash"])
103 logging.debug("tracked origin commit id: %s", o_from_t["hash"])
110 logging.debug(command)
121 logging.debug(command)
136 logging.error("Cannot find the origin path for %s", file_path)
143 logging.error("Cannot find the latest commit for %s", file_path)
152 logging
[all...]
H A Dget_abi.py11 import logging
200 level = logging.DEBUG
202 level = logging.INFO
204 logging.basicConfig(level=level, format="[%(levelname)s] %(message)s")
/linux/tools/testing/selftests/drivers/net/
H A Dnetpoll_basic.py20 import logging
44 logging.basicConfig(
45 level=logging.INFO,
88 logging.debug("Setting ring size to %d/%d", rxs, txs)
129 logging.debug("calling: ethtool %s", cmdline)
150 logging.debug("Using netconsole name: %s", target_name)
153 logging.debug(
165 logging.debug("Writing %s to %s", key, path)
178 logging.debug(
208 logging.debug(
[all …]
/linux/scripts/
H A Dkernel-doc105 import logging
184 class MsgFormatter(logging.Formatter):
192 return logging.Formatter.format(self, record)
294 logger = logging.getLogger()
297 logger.setLevel(logging.INFO)
299 logger.setLevel(logging.DEBUG)
303 handler = logging.StreamHandler()
H A Dkernel-doc.py
H A Dcontainer9 import logging
136 logger = logging.getLogger('container')
137 handler = logging.StreamHandler()
138 handler.setFormatter(logging.Formatter(
142 logger.setLevel(logging.DEBUG if verbose is True else logging.INFO)
H A Dgenerate_rust_analyzer.py8 import logging
327 logging.info("Checking %s", path)
336 logging.info("Adding %s", crate_name)
369 logging.basicConfig(
371 level=logging.INFO if args.verbose else logging.WARNING
/linux/tools/testing/selftests/tpm2/
H A Dtpm2_tests.py10 import logging
240 logging.basicConfig(filename='SpaceTest.log', level=logging.DEBUG)
243 log = logging.getLogger(__name__)
257 log = logging.getLogger(__name__)
267 log = logging.getLogger(__name__)
284 log = logging.getLogger(__name__)
308 logging.basicConfig(filename='AsyncTest.log', level=logging.DEBUG)
311 log = logging.getLogger(__name__)
320 log = logging.getLogger(__name__)
/linux/Documentation/admin-guide/device-mapper/
H A Ddm-log.rst4 The device-mapper logging code is used by some of the device-mapper
14 There is a generic logging interface that the device-mapper RAID
15 implementations use to perform logging operations (see
17 logging implementations are available and provide different
31 logging state survives reboots/crashes.
44 logging requests to userspace, where a daemon receives and processes the
/linux/scripts/clang-tools/
H A Dgen_compile_commands.py12 import logging
190 level = getattr(logging, log_level)
191 logging.basicConfig(format='%(levelname)s: %(message)s', level=level)
220 logging.info('Could not add line from %s: %s',
/linux/tools/testing/selftests/hid/tests/
H A Dtest_hid_core.py25 import logging
27 logger = logging.getLogger("hidtools.test.hid")
H A Dtest_usb_crash.py13 import logging
15 logger = logging.getLogger("hidtools.test.usb")
H A Dtest_ite_keyboard.py13 import logging
16 logger = logging.getLogger("hidtools.test.ite-keyboard")
/linux/tools/net/sunrpc/xdrgen/subcmds/
H A Dlint.py7 import logging
17 logger.setLevel(logging.DEBUG)
H A Ddeclarations.py7 import logging
28 logger.setLevel(logging.INFO)
/linux/tools/kvm/kvm_stat/
H A Dkvm_stat.txt23 Use batch and logging modes for scripting purposes.
95 run in logging mode (like vmstat)
100 like -l/--log, but logging to a file. Appends to existing files.
116 omit records with all zeros in logging mode
/linux/kernel/debug/kdb/
H A Dkdb_io.c634 int logging, saved_loglevel = 0; in vkdb_printf()
664 diag = kdbgetintenv("LOGGING", &logging); in vkdb_printf()
666 logging = 0; in vkdb_printf()
783 if (logging) { in vkdb_printf()
833 if (logging) in vkdb_printf()
899 if (logging) in vkdb_printf()
637 int logging, saved_loglevel = 0; vkdb_printf() local
/linux/tools/testing/kunit/
H A Dkunit_kernel.py11 import logging
277 logging.error(e)
293 logging.error(message)
305 logging.error(e)
345 logging.error(e)
405 logging.error('Build interruption occurred. Cleaning console.')
/linux/Documentation/networking/
H A Dnetconsole.rst26 problem where disk logging fails and serial consoles are impractical.
48 tgt-port port for logging agent (6666)
49 tgt-ip IP address for logging agent
50 tgt-macaddr ethernet MAC address for logging agent (broadcast)
68 It also supports logging to multiple remote agents by specifying
105 remote logging targets to be dynamically added, removed, or have their
114 To add a remote logging target (target names can be arbitrary)::
389 6.4.0,6,444,501151268,-;netconsole: network logging started
430 in case the remote logging agent is on a separate LAN subnet than
444 if you find that the remote logging agent is not receiving or
[all …]
/linux/tools/thermal/tmon/
H A Dtmon.c39 static int logging; /* for recording thermal data to a file */ variable
136 if (!logging) in prepare_logging()
254 logging = 1; in main()
/linux/Documentation/sphinx/
H A Dkernel_abi.py43 from sphinx.util import logging
52 logger = logging.getLogger('kernel_abi')
/linux/Documentation/filesystems/xfs/
H A Dindex.rst11 xfs-delayed-logging-design
/linux/fs/ocfs2/
H A DKconfig63 bool "OCFS2 logging support"
67 The ocfs2 filesystem has an extensive logging system. The system
/linux/arch/riscv/kvm/
H A Dmmu.c216 /* IO region dirty page logging not allowed */ in kvm_arch_prepare_memory_region()
436 bool logging = (memslot->dirty_bitmap && in transparent_hugepage_adjust()
468 if (logging || (vma->vm_flags & VM_PFNMAP)) in kvm_riscv_mmu_map()
503 * If logging is active then we allow writable pages only in kvm_riscv_mmu_map()
506 if (logging && !is_write) in kvm_riscv_mmu_map()
515 if (!logging && (vma_pagesize == PAGE_SIZE)) in kvm_riscv_mmu_map()
460 bool logging = (memslot->dirty_bitmap && kvm_riscv_mmu_map() local

12345