| /linux/tools/usb/ |
| H A D | p9_fwd.py | 6 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 D | checktransupdate.py | 31 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 D | get_abi.py | 11 import logging 200 level = logging.DEBUG 202 level = logging.INFO 204 logging.basicConfig(level=level, format="[%(levelname)s] %(message)s")
|
| /linux/tools/perf/ui/ |
| H A D | util.c | 7 * Default error logging functions 62 * perf_error__register - Register error logging functions 63 * @eops: The pointer to error logging function struct 65 * Register UI-specific error logging functions. Before calling this, 66 * other logging functions should be unregistered, if any. 78 * perf_error__unregister - Unregister error logging functions 79 * @eops: The pointer to error logging function struct 81 * Unregister already registered error logging functions.
|
| /linux/tools/testing/selftests/drivers/net/ |
| H A D | netpoll_basic.py | 20 import logging 43 # Configure 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( [all …]
|
| /linux/drivers/scsi/libfc/ |
| H A D | fc_libfc.h | 11 #define FC_LIBFC_LOGGING 0x01 /* General logging, not categorized */ 12 #define FC_LPORT_LOGGING 0x02 /* lport layer logging */ 13 #define FC_DISC_LOGGING 0x04 /* discovery layer logging */ 14 #define FC_RPORT_LOGGING 0x08 /* rport layer logging */ 15 #define FC_FCP_LOGGING 0x10 /* I/O path logging */ 16 #define FC_EM_LOGGING 0x20 /* Exchange Manager logging */ 17 #define FC_EXCH_LOGGING 0x40 /* Exchange/Sequence logging */ 18 #define FC_SCSI_LOGGING 0x80 /* SCSI logging (mostly error handling) */
|
| /linux/drivers/net/ethernet/intel/libie/ |
| H A D | fwlog.c | 181 * libie_fwlog_supported - Cached for whether FW supports FW logging or not 193 * libie_aq_fwlog_set - Set FW logging configuration AQ command (0xFF30) 198 * @log_resolution: logging resolution 245 * libie_fwlog_set - Set the firmware logging settings 247 * @cfg: config used to set firmware logging 250 * logging configuration. It can be called on initialization, reset, or during 253 * If the PF wishes to receive FW logging then it must register via 269 * libie_aq_fwlog_register - Register PF for firmware logging events (0xFF31) 289 * libie_fwlog_register - Register the PF for firmware logging 292 * After this call the PF will start to receive firmware logging based on the [all …]
|
| /linux/Documentation/admin-guide/device-mapper/ |
| H A D | dm-log.rst | 2 Device-Mapper Logging 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/testing/selftests/tpm2/ |
| H 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/include/linux/net/intel/libie/ |
| H A D | fwlog.h | 23 /* module ID for the corresponding firmware logging event */ 32 /* options used to configure firmware logging */ 37 * firmware logging on initialization 41 * FW logging events over ARQ 68 bool supported; /* does hardware support FW logging? */
|
| /linux/drivers/scsi/fcoe/ |
| H A D | libfcoe.h | 6 #define LIBFCOE_LOGGING 0x01 /* General logging, not categorized */ 7 #define LIBFCOE_FIP_LOGGING 0x02 /* FIP logging */ 8 #define LIBFCOE_TRANSPORT_LOGGING 0x04 /* FCoE transport logging */ 9 #define LIBFCOE_SYSFS_LOGGING 0x08 /* fcoe_sysfs logging */
|
| /linux/tools/testing/selftests/kvm/ |
| H A D | dirty_log_perf_test.c | 3 * KVM dirty page logging performance test 80 * Keep running the guest while dirty logging is being disabled in vcpu_worker() 168 /* Enable dirty logging */ in run_test() 172 pr_info("Enabling dirty logging time: %ld.%.9lds\n\n", in run_test() 219 * Run vCPUs while dirty logging is being disabled to stress disabling in run_test() 221 * line as this significantly increases time to disable dirty logging. in run_test() 226 /* Disable dirty logging */ in run_test() 230 pr_info("Disabling dirty logging time: %ld.%.9lds\n", in run_test() 235 * have stopped running after disabling dirty logging, the join will in run_test() 270 " and writes will be tracked as soon as dirty logging is\n" in help() [all …]
|
| /linux/tools/testing/selftests/kvm/x86/ |
| H A D | dirty_log_page_splitting_test.c | 3 * KVM dirty logging page splitting test 132 /* Enable dirty logging */ in run_test() 135 get_page_stats(vm, &stats_dirty_logging_enabled, "enabling dirty logging"); in run_test() 151 /* Disable dirty logging */ in run_test() 154 get_page_stats(vm, &stats_dirty_logging_disabled, "disabling dirty logging"); in run_test() 162 * have stopped running after disabling dirty logging, the join will in run_test() 196 * Once dirty logging is disabled and the vCPUs have touched all their in run_test()
|
| /linux/scripts/ |
| H A D | container | 9 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 D | generate_rust_analyzer.py | 8 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
|
| H A D | kernel-doc | 105 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 D | kernel-doc.py | |
| /linux/drivers/scsi/ |
| H A D | scsi_logging.h | 7 * This defines the scsi logging feature. It is a means by which the user can 9 * really useful for fault tracing. The logging word is divided into 10 3-bit 14 * enough, since this gives 8 levels of logging (really 7, since 0 is always 61 * log events. If logging isn't enabled, they are no-ops and will be
|
| /linux/Documentation/networking/ |
| H A D | netconsole.rst | 26 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/drivers/gpu/drm/nouveau/include/nvif/ |
| H A D | log.h | 10 * nvif_log - structure for tracking logging buffers 14 * Structure used to track logging buffers so that they can be cleaned up 18 * backing resources, such as logging buffers.
|
| /linux/tools/kvm/kvm_stat/ |
| H 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/drivers/gpu/nova-core/ |
| H A D | gsp.rs | 67 /// The logging buffers are byte queues that contain encoded printf-like 77 /// Initially, pp is equal to 0. If the buffer has valid logging data in it, 78 /// then pp points to index into the buffer where the next logging entry will 79 /// be written. Therefore, the logging data is valid if: 140 // Initialise the logging structures. The OpenRM equivalents are in: in new()
|
| /linux/scripts/clang-tools/ |
| H A D | gen_compile_commands.py | 12 import logging 32 log_level: A logging level to filter log output. 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/include/linux/ |
| H A D | relay.h | 103 * The client should return 1 to continue logging, 0 to stop 104 * logging. 196 * if you might be logging from interrupt context. Try 197 * __relay_write() if you know you won't be logging from 225 * relay_write() if you might be logging from interrupt
|
| /linux/tools/net/sunrpc/xdrgen/subcmds/ |
| H A D | lint.py | 7 import logging 17 logger.setLevel(logging.DEBUG)
|