| /linux/tools/usb/ |
| A D | p9_fwd.py | 6 import logging 33 if not logging.root.isEnabledFor(logging.TRACE): 41 logging.root.log(logging.TRACE, "%s", line) 110 logging.log(logging.TRACE, "c2s: reading") 113 logging.log(logging.TRACE, "c2s: reading timed out") 125 logging.log(logging.TRACE, "c2s: writing") 134 logging.log(logging.TRACE, "s2c: reading") 139 logging.log(logging.TRACE, "s2c: writing") 146 logging.log(logging.TRACE, "sending zero length packet") 228 logging.TRACE = logging.DEBUG - 5 [all …]
|
| /linux/scripts/ |
| A D | checktransupdate.py | 28 import logging 45 logging.debug(command) 52 logging.debug("Result: %s", result[0]) 75 logging.debug(command) 86 logging.debug(command) 120 logging.info(file_path) 163 class DmesgFormatter(logging.Formatter): 175 logger = logging.getLogger() 179 console_handler = logging.StreamHandler() 183 file_handler = logging.FileHandler(log_file) [all …]
|
| A D | generate_rust_analyzer.py | 8 import logging 124 logging.info("Checking %s", path) 132 logging.info("Adding %s", name) 153 logging.basicConfig( 155 level=logging.INFO if args.verbose else logging.WARNING
|
| /linux/tools/net/ynl/ |
| A D | ynl-gen-rst.py | 25 import logging 378 logging.basicConfig(level=logging.DEBUG) 381 logging.warning("%s is not a valid file.", args.input) 385 logging.error("No output file specified.") 389 logging.debug("%s already exists. Overwriting it.", args.output) 405 logging.debug("Saving RST file to %s", filename) 421 logging.debug("Looking for .rst files in %s", index_dir) 427 logging.debug("Writing an index file at %s", output) 437 logging.debug("Parsing %s", args.input) 441 logging.warning("Failed to parse %s.", args.input) [all …]
|
| /linux/tools/testing/selftests/tpm2/ |
| A D | tpm2_tests.py | 10 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/ |
| A D | dm-log.rst | 4 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/tools/perf/tests/ |
| A D | attr.py | 11 import logging 398 level = logging.CRITICAL 401 level = logging.WARNING 403 level = logging.INFO 405 level = logging.DEBUG 407 log = logging.getLogger('test') 409 ch = logging.StreamHandler() 411 formatter = logging.Formatter('%(message)s')
|
| /linux/tools/testing/selftests/hid/tests/ |
| A D | test_hid_core.py | 25 import logging 27 logger = logging.getLogger("hidtools.test.hid")
|
| A D | test_usb_crash.py | 13 import logging 15 logger = logging.getLogger("hidtools.test.usb")
|
| A D | test_ite_keyboard.py | 13 import logging 15 logger = logging.getLogger("hidtools.test.ite-keyboard")
|
| /linux/Documentation/sphinx/ |
| A D | kernellog.py | 11 from sphinx.util import logging 13 logger = logging.getLogger('kerneldoc')
|
| /linux/scripts/clang-tools/ |
| A D | gen_compile_commands.py | 12 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/net/sunrpc/xdrgen/subcmds/ |
| A D | lint.py | 7 import logging 16 logger.setLevel(logging.DEBUG)
|
| A D | declarations.py | 7 import logging 28 logger.setLevel(logging.INFO)
|
| A D | definitions.py | 7 import logging 28 logger.setLevel(logging.INFO)
|
| A D | source.py | 7 import logging 27 logger.setLevel(logging.INFO)
|
| /linux/tools/kvm/kvm_stat/ |
| A D | kvm_stat.txt | 23 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/ |
| A D | kdb_io.c | 620 int logging, saved_loglevel = 0; in vkdb_printf() local 650 diag = kdbgetintenv("LOGGING", &logging); in vkdb_printf() 652 logging = 0; in vkdb_printf() 768 if (logging) { in vkdb_printf() 818 if (logging) in vkdb_printf() 883 if (logging) in vkdb_printf()
|
| /linux/Documentation/networking/ |
| A D | netconsole.rst | 27 problem where disk logging fails and serial consoles are impractical. 49 tgt-port port for logging agent (6666) 50 tgt-ip IP address for logging agent 51 tgt-macaddr ethernet MAC address for logging agent (broadcast) 65 It also supports logging to multiple remote agents by specifying 102 remote logging targets to be dynamically added, removed, or have their 111 To add a remote logging target (target names can be arbitrary):: 257 6.4.0,6,444,501151268,-;netconsole: network logging started 298 in case the remote logging agent is on a separate LAN subnet than 312 if you find that the remote logging agent is not receiving or [all …]
|
| /linux/tools/testing/kunit/ |
| A D | kunit_kernel.py | 11 import logging 263 logging.error(e) 279 logging.error(message) 291 logging.error(e) 331 logging.error(e) 377 logging.error('Build interruption occurred. Cleaning console.')
|
| /linux/tools/thermal/tmon/ |
| A D | tmon.c | 39 static int logging; /* for recording thermal data to a file */ variable 136 if (!logging) in prepare_logging() 254 logging = 1; in main()
|
| /linux/Documentation/filesystems/xfs/ |
| A D | xfs-delayed-logging-design.rst | 19 the basic concepts covered, the design of the delayed logging mechanism is 28 logging mechanisms are varied and complex, combining intents, logical and 44 the overhead of metadata logging low is of prime importance. 48 the method used for logging a particular object or chaining modifications 303 Re-logging Explained 390 is the fundamental goal of delayed logging. 414 crash is much greater than for the existing logging mechanism. 431 The fundamental requirements for delayed logging in XFS are simple: 461 was the barrier to implementing delayed logging for so long. 495 Delayed logging vector:: [all …]
|
| A D | index.rst | 11 xfs-delayed-logging-design
|
| /linux/Documentation/gpu/amdgpu/ |
| A D | thermal.rst | 155 Write 1 to amdgpu_gfxoff_residency to start logging, and 0 to stop. Read it to 156 get average GFXOFF residency % multiplied by 100 during the last logging 157 interval. E.g. a value of 7854 means 78.54% of the time in the last logging
|
| /linux/tools/testing/selftests/futex/functional/ |
| A D | Makefile | 9 ../include/logging.h
|