/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/scripts/ |
H A D | checktransupdate.py | 28 import logging 45 logging.debug(command) 52 logging.debug("Result: %s", result[0]) 68 logging.debug("tracked origin commit id: %s", o_from_t["hash"]) 75 logging.debug(command) 86 logging.debug(command) 101 logging.error("Cannot find the origin path for {file_path}") 108 logging.error("Cannot find the latest commit for %s", file_path) 114 logging.error("Error: Cannot find the latest origin commit for %s", file_path) 118 logging.debug("No update needed for %s", file_path) [all …]
|
H A D | generate_rust_analyzer.py | 8 import logging 160 logging.info("Checking %s", path) 168 logging.info("Adding %s", name) 190 logging.basicConfig( 192 level=logging.INFO if args.verbose else logging.WARNING
|
H A D | kernel-doc | 99 import logging 165 class MsgFormatter(logging.Formatter): 170 return logging.Formatter.format(self, record) 260 logger = logging.getLogger() 263 logger.setLevel(logging.INFO) 265 logger.setLevel(logging.DEBUG) 269 handler = logging.StreamHandler()
|
H A D | kernel-doc.py | 99 import logging 165 class MsgFormatter(logging.Formatter): 170 return logging.Formatter.format(self, record) 260 logger = logging.getLogger() 263 logger.setLevel(logging.INFO) 265 logger.setLevel(logging.DEBUG) 269 handler = logging.StreamHandler()
|
/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_fwlog.c | 127 * ice_fwlog_init - Initialize FW logging configuration 170 …dev_warn(ice_hw_to_dev(hw), "FW logging is not supported in this NVM image. Please update the NVM … in ice_fwlog_init() 177 * ice_fwlog_deinit - unroll FW logging configuration 193 /* make sure FW logging is disabled to not put the FW in a weird state in ice_fwlog_deinit() 199 dev_warn(ice_hw_to_dev(hw), "Unable to turn off FW logging, status: %d\n", in ice_fwlog_deinit() 208 dev_warn(ice_hw_to_dev(hw), "Unable to unregister FW logging, status: %d\n", in ice_fwlog_deinit() 218 * ice_fwlog_supported - Cached for whether FW supports FW logging or not 230 * ice_aq_fwlog_set - Set FW logging configuration AQ command (0xFF30) 235 * @log_resolution: logging resolution 281 * ice_fwlog_set - Set the firmware logging settings [all …]
|
H A D | ice_fwlog.h | 24 /* module ID for the corresponding firmware logging event */ 33 /* options used to configure firmware logging */ 38 * logging on initialization 42 * logging events over ARQ
|
/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/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/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/drivers/md/dm-vdo/ |
H A D | memory-alloc.h | 35 * @what: What is being allocated (for error logging) 60 * Allocate one or more elements of the indicated type, logging an error if the allocation fails. 65 * @WHAT: What is being allocated (for error logging) 75 * logging an error if the allocation fails. The memory will be zeroed. 81 * @WHAT: What is being allocated (for error logging) 101 * Allocate memory starting on a cache line boundary, logging an error if the allocation fails. The 105 * @what: What is being allocated (for error logging) 120 * @what: What is being allocated (for error 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/Documentation/networking/ |
H A D | netconsole.rst | 29 problem where disk logging fails and serial consoles are impractical. 51 tgt-port port for logging agent (6666) 52 tgt-ip IP address for logging agent 53 tgt-macaddr ethernet MAC address for logging agent (broadcast) 71 It also supports logging to multiple remote agents by specifying 108 remote logging targets to be dynamically added, removed, or have their 117 To add a remote logging target (target names can be arbitrary):: 360 6.4.0,6,444,501151268,-;netconsole: network logging started 401 in case the remote logging agent is on a separate LAN subnet than 415 if you find that the remote logging agent is not receiving or [all …]
|
/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/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/drivers/scsi/esas2r/ |
H A D | esas2r_log.c | 47 * this module within the driver is tasked with providing logging functionality. 79 * translates an esas2r-defined logging event level to a kernel logging level. 81 * @param [in] level the esas2r-defined logging event level to translate 83 * @return the corresponding kernel logging level. 110 * the master logging function. this function will format the message as
|
/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/accel/ivpu/ |
H A D | vpu_jsm_api.h | 146 * name of a logging destination or a loggable HW component). 329 * Logging entity types. 331 * This enum defines the different types of entities involved in logging. 334 /** Logging destination (entity where logs can be stored / printed). */ 463 /** Configure logging (used to modify configuration passed in boot params). */ 465 /** Return current logging configuration. */ 984 /* Cmdq group: only used for HWS logging of state changes */ 1077 * @brief Structure to set another buffer to be used for scheduling-related logging. 1078 * The size of the logging buffer and the number of entries is defined as part of the 1089 * The host should set engine_idx and vpu_log_buffer_va to 0 to disable logging [all …]
|
H A D | vpu_boot_api.h | 128 * Logging destinations. 130 * Logging output can be directed to different logging destinations. This enum 131 * defines the list of logging destinations supported by the VPU firmware (NOTE: 283 * the threshold will not be logged); applies to every enabled logging 299 * Mask of destinations to which logging messages are delivered; bitwise OR 304 * Mask of hardware components for which logging is enabled; bitwise OR of 465 /* Name of the logging entity, i.e "LRT", "LNN", "SHV0", etc */
|
/linux/drivers/scsi/pm8001/ |
H A D | pm8001_sas.h | 63 #define PM8001_FAIL_LOGGING 0x01 /* Error message logging */ 64 #define PM8001_INIT_LOGGING 0x02 /* driver init logging */ 65 #define PM8001_DISC_LOGGING 0x04 /* discovery layer logging */ 66 #define PM8001_IO_LOGGING 0x08 /* I/O path logging */ 67 #define PM8001_EH_LOGGING 0x10 /* libsas EH function logging*/ 68 #define PM8001_IOCTL_LOGGING 0x20 /* IOCTL message logging */ 69 #define PM8001_MSG_LOGGING 0x40 /* misc message logging */ 70 #define PM8001_DEV_LOGGING 0x80 /* development message logging */ 71 #define PM8001_DEVIO_LOGGING 0x100 /* development io message logging */ 72 #define PM8001_IOERR_LOGGING 0x200 /* development io err message logging */ [all …]
|
/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 | 89 * The client should return 1 to continue logging, 0 to stop 90 * logging. 182 * if you might be logging from interrupt context. Try 183 * __relay_write() if you know you won't be logging from 211 * relay_write() if you might be logging from interrupt
|
/linux/arch/x86/kvm/mmu/ |
H A D | spte.h | 22 * be restricted to using write-protection (for L2 when CPU dirty logging, i.e. 29 * TDP with CPU dirty logging (PML). If NPT ever gains PML-like support, it 383 * 1. To intercept writes for dirty logging. KVM write-protects huge pages 384 * so that they can be split down into the dirty logging 387 * (e.g. if not using PML). SPTEs are write-protected for dirty logging 388 * during the VM-iotcls that enable dirty logging. 431 * shadow page tables between vCPUs. Write-protecting an SPTE for dirty logging 488 * as KVM allows stale Writable TLB entries to exist. When dirty logging, KVM 498 * flushes when enabling dirty logging (see kvm_mmu_slot_apply_flags()), and
|
/linux/tools/net/sunrpc/xdrgen/subcmds/ |
H A D | lint.py | 7 import logging 16 logger.setLevel(logging.DEBUG)
|