Home
last modified time | relevance | path

Searched full:logging (Results 1 – 25 of 697) sorted by relevance

12345678910>>...28

/linux-6.14.4/tools/usb/
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-6.14.4/scripts/
Dchecktransupdate.py28 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 …]
Dgenerate_rust_analyzer.py8 import logging
143 logging.info("Checking %s", path)
151 logging.info("Adding %s", name)
172 logging.basicConfig(
174 level=logging.INFO if args.verbose else logging.WARNING
/linux-6.14.4/drivers/net/ethernet/intel/ice/
Dice_fwlog.c127 * 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 …]
Dice_fwlog.h24 /* 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-6.14.4/tools/perf/ui/
Dutil.c7 * 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-6.14.4/Documentation/filesystems/xfs/
Dxfs-delayed-logging-design.rst4 XFS Logging Design
19 the basic concepts covered, the design of the delayed logging mechanism is
26 XFS uses Write Ahead Logging for ensuring changes to the filesystem metadata
28 logging mechanisms are varied and complex, combining intents, logical and
29 physical logging mechanisms to provide the necessary recovery guarantees the
42 logging overhead as low as possible. Some items are very frequently modified,
44 the overhead of metadata logging low is of prime importance.
48 the method used for logging a particular object or chaining modifications
50 performed. The logging subsystem only cares that certain specific rules are
134 However, the logging subsystem does provide global ordering guarantees, such
[all …]
/linux-6.14.4/drivers/scsi/libfc/
Dfc_libfc.h11 #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-6.14.4/Documentation/admin-guide/device-mapper/
Ddm-log.rst2 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-6.14.4/tools/testing/selftests/tpm2/
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-6.14.4/drivers/md/dm-vdo/
Dmemory-alloc.h35 * @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-6.14.4/drivers/scsi/fcoe/
Dlibfcoe.h6 #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-6.14.4/tools/net/ynl/pyynl/
Dynl_gen_rst.py25 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-6.14.4/Documentation/networking/
Dnetconsole.rst27 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)::
258 6.4.0,6,444,501151268,-;netconsole: network logging started
299 in case the remote logging agent is on a separate LAN subnet than
313 if you find that the remote logging agent is not receiving or
[all …]
/linux-6.14.4/tools/testing/selftests/kvm/x86/
Ddirty_log_page_splitting_test.c3 * 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-6.14.4/tools/testing/selftests/kvm/
Ddirty_log_perf_test.c3 * KVM dirty page logging performance test
112 * Keep running the guest while dirty logging is being disabled in vcpu_worker()
202 /* Enable dirty logging */ in run_test()
206 pr_info("Enabling dirty logging time: %ld.%.9lds\n\n", in run_test()
253 * Run vCPUs while dirty logging is being disabled to stress disabling in run_test()
255 * line as this significantly increases time to disable dirty logging. in run_test()
260 /* Disable dirty logging */ in run_test()
264 pr_info("Disabling dirty logging time: %ld.%.9lds\n", in run_test()
269 * have stopped running after disabling dirty logging, the join will in run_test()
305 " and writes will be tracked as soon as dirty logging is\n" in help()
[all …]
/linux-6.14.4/Documentation/sphinx/
Dkernellog.py3 # Sphinx has deprecated its older logging interface, but the replacement
11 from sphinx.util import logging
13 logger = logging.getLogger('kerneldoc')
/linux-6.14.4/drivers/scsi/
Dscsi_logging.h7 * 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-6.14.4/drivers/gpu/drm/nouveau/include/nvif/
Dlog.h10 * 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-6.14.4/drivers/scsi/esas2r/
Desas2r_log.c47 * 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-6.14.4/tools/kvm/kvm_stat/
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-6.14.4/include/drm/
Ddrm_print.h48 * debug code to be used for both debugfs and printk logging.
76 * Each of the DRM debug logging macros use a specific category, and the logging
92 * An interesting feature is that it's possible to enable verbose logging at
482 * struct device based logging
484 * Prefer drm_device based logging over device or printk based logging.
582 * struct drm_device based logging
584 * Prefer drm_device based logging over device or prink based logging.
587 /* Helper for struct drm_device based logging. */
646 * printk based logging
648 * Prefer drm_device based logging over device or prink based logging.
/linux-6.14.4/drivers/accel/ivpu/
Dvpu_jsm_api.h145 * name of a logging destination or a loggable HW component).
326 * Logging entity types.
328 * This enum defines the different types of entities involved in logging.
331 /** Logging destination (entity where logs can be stored / printed). */
460 /** Configure logging (used to modify configuration passed in boot params). */
462 /** Return current logging configuration. */
968 /* Cmdq group: only used for HWS logging of state changes */
1058 * @brief Structure to set another buffer to be used for scheduling-related logging.
1059 * The size of the logging buffer and the number of entries is defined as part of the
1070 * The host should set engine_idx and vpu_log_buffer_va to 0 to disable logging
[all …]
Dvpu_boot_api.h121 * Logging destinations.
123 * Logging output can be directed to different logging destinations. This enum
124 * defines the list of logging destinations supported by the VPU firmware (NOTE:
276 * the threshold will not be logged); applies to every enabled logging
292 * Mask of destinations to which logging messages are delivered; bitwise OR
297 * Mask of hardware components for which logging is enabled; bitwise OR of
458 /* Name of the logging entity, i.e "LRT", "LNN", "SHV0", etc */
/linux-6.14.4/tools/perf/tests/shell/lib/
Dattr.py11 import logging
416 level = logging.CRITICAL
419 level = logging.WARNING
421 level = logging.INFO
423 level = logging.DEBUG
425 log = logging.getLogger('test')
427 ch = logging.StreamHandler()
429 formatter = logging.Formatter('%(message)s')

12345678910>>...28