Home
last modified time | relevance | path

Searched refs:logger (Results 1 – 25 of 344) sorted by relevance

12345678910>>...14

/OK3568_Linux_fs/yocto/poky/scripts/
H A Dyocto-check-layer33 logger = scriptutils.logger_create(PROGNAME, stream=sys.stdout) variable
37 logger.info("Starting to analyze: %s" % layer['name'])
38 logger.info("----------------------------------------------------------------------")
40 …tc = CheckLayerTestContext(td=td, logger=logger, layer=layer, test_software_layer_signatures=test_…
45 logger.debug("Found layer %s (%s)" % (layer["name"], layer["path"]))
48 logger.debug("%s collections: %s" % (layer["name"], ", ".join(collections)))
88 logger.addHandler(fh)
90 logger.setLevel(logging.DEBUG)
92 logger.setLevel(logging.ERROR)
95 logger.error("You must source the environment before running this script.")
[all …]
H A Dinstall-buildtools56 logger = scriptutils.logger_create(PROGNAME, stream=sys.stdout) variable
66 logger.error("This script requires Python 3.4 or greater")
67 logger.error("You have Python %s.%s" %
174 logger.setLevel(logging.DEBUG)
176 logger.setLevel(logging.ERROR)
179 logger.debug("--url and --filename detected. Ignoring --base-url "
192 logger.debug("milestone regex: %s" % m)
194 logger.debug("release[distro]: %s" % m.group('distro'))
195 logger.debug("release[version]: %s" % m.group('version'))
196 logger.debug("release[milestone]: %s" % m.group('milestone'))
[all …]
H A Doe-publish-sdk25 logger = scriptutils.logger_create('sdktool') variable
35 logger.debug("In publish function")
38 logger.debug("target_sdk = %s, update_server = %s" % (target_sdk, destination))
43 logger.error("Specified SDK %s doesn't exist" % target_sdk)
46 logger.error("%s is a directory - expected path to SDK installer file" % target_sdk)
59 logger.debug("Making sure the destination directory exists")
66 logger.error("Making directory %s on %s failed" % (destdir, host))
70 logger.info("Copying the SDK to destination")
82 logger.error("scp %s %s failed" % (target_sdk, destination))
86 logger.info("Unpacking SDK")
[all …]
H A Drunqemu38 logger = logging.getLogger('runqemu')
39 logger.setLevel(logging.INFO)
52 logger.addHandler(ch)
54 return logger
56 logger = create_logger() variable
221 logger.debug("Acquiring lockfile %s..." % self.taplock)
228 logger.error(msg)
230 logger.info(msg)
239 logger.debug("Releasing lockfile for tap device '%s'" % self.tap)
267 logger.debug("Acquiring lockfile %s..." % lockfile)
[all …]
H A Dcombo-layer30 logger = logging.getLogger("")
33 logger.addHandler(loggerhandler)
34 logger.setLevel(logging.INFO)
35 return logger
37 logger = logger_create() variable
79 logger.debug("Loading config file %s" % self.conffile)
105 logger.debug("Combo layer branch is %s" % self.combobranch)
108 logger.debug("Loading local config file %s" % self.localconffile)
160 logger.error("configuration file %s has the following error: %s" % (self.conffile,msg))
162logger.error("local configuration file %s may be missing configuration for combo branch %s" % (sel…
[all …]
H A Doe-pkgdata-util26 logger = scriptutils.logger_create('pkgdatautil') variable
32 tinfoil.logger.setLevel(logging.WARNING)
44 logger.error('Unable to find package list file %s' % args.pkglistfile)
65 logger.debug("%s -> !!" % pkg)
79 logger.debug("%s -> !" % pkg)
136 logger.debug("%s is not a valid package!" % (pkg))
140 logger.debug("%s (%s) -> %s" % (pkg, g, mappedpkg))
143 logger.debug("%s (%s) -> ?" % (pkg, g))
145 logger.debug("------")
162 logger.error("No packages specified")
[all …]
/OK3568_Linux_fs/kernel/net/netfilter/
H A Dnf_log.c25 #define nft_log_dereference(logger) \ argument
26 rcu_dereference_protected(logger, lockdep_is_held(&nf_log_mutex))
45 int nf_log_set(struct net *net, u_int8_t pf, const struct nf_logger *logger) in nf_log_set() argument
55 rcu_assign_pointer(net->nf.nf_loggers[pf], logger); in nf_log_set()
63 void nf_log_unset(struct net *net, const struct nf_logger *logger) in nf_log_unset() argument
71 if (log == logger) in nf_log_unset()
79 int nf_log_register(u_int8_t pf, struct nf_logger *logger) in nf_log_register() argument
91 if (rcu_access_pointer(loggers[i][logger->type])) { in nf_log_register()
97 rcu_assign_pointer(loggers[i][logger->type], logger); in nf_log_register()
99 if (rcu_access_pointer(loggers[pf][logger->type])) { in nf_log_register()
[all …]
/OK3568_Linux_fs/kernel/drivers/platform/chrome/
H A Dcros_usbpd_logger.c62 static struct ec_response_pd_log *ec_get_log_entry(struct logger_data *logger) in ec_get_log_entry() argument
64 struct cros_ec_dev *ec_dev = logger->ec_dev; in ec_get_log_entry()
68 msg = (struct cros_ec_command *)logger->ec_buffer; in ec_get_log_entry()
170 struct logger_data *logger = container_of(to_delayed_work(work), in cros_usbpd_log_check() local
173 struct device *dev = logger->dev; in cros_usbpd_log_check()
179 r = ec_get_log_entry(logger); in cros_usbpd_log_check()
191 queue_delayed_work(logger->log_workqueue, &logger->log_work, in cros_usbpd_log_check()
199 struct logger_data *logger; in cros_usbpd_logger_probe() local
201 logger = devm_kzalloc(dev, sizeof(*logger), GFP_KERNEL); in cros_usbpd_logger_probe()
202 if (!logger) in cros_usbpd_logger_probe()
[all …]
/OK3568_Linux_fs/yocto/poky/meta/lib/oeqa/utils/
H A Dqemurunner.py37 …use_kvm, logger, use_slirp=False, serial_ports=2, boot_patterns = defaultdict(str), use_ovmf=False… argument
75 self.logger = logger
105 … self.logger.debug("Created listening socket for qemu serial console on: 127.0.0.1:%s" % port)
135 self.logger.error('runqemu exited with code %d' % self.runqemu.returncode)
136 self.logger.error('Output from runqemu:\n%s' % self.getOutput(self.runqemu.stdout))
148 self.logger.error("Invalid rootfs %s" % self.rootfs)
151 self.logger.error("Invalid TMPDIR path %s" % self.tmpdir)
156 self.logger.error("Invalid DEPLOY_DIR_IMAGE path %s" % self.deploy_dir_image)
167 self.logger.debug('Using kvm for runqemu')
170 self.logger.debug('Not using kvm for runqemu')
[all …]
H A Dhttpserver.py14 def server_start(self, root_dir, logger): argument
25 def __init__(self, root_dir, host='', port=0, logger=None): argument
29 self.logger = logger
33 …self.logger.info("Not starting HTTPService for directory %s which doesn't exist" % (self.root_dir))
39 …ocess = multiprocessing.Process(target=self.server.server_start, args=[self.root_dir, self.logger])
44 self.logger.warn("Exception when handling %s: %s" % (request, exception))
55 if self.logger:
56 self.logger.info("Started HTTPService on %s:%s" % (self.host, self.port))
65 if self.logger:
66 self.logger.info("Stopped HTTPService on %s:%s" % (self.host, self.port))
/OK3568_Linux_fs/yocto/poky/bitbake/lib/bb/ui/
H A Dtoasterui.py34 logger = logging.getLogger("ToasterLogger") variable
41 logger.error("Unable to get the value of BBINCLUDELOGS variable: %s", error)
45 logger.error("Unable to get the value of BBINCLUDELOGS_LINES variable: %s", error)
49 logger.error("Unable to get the value of BB_CONSOLELOG variable: %s", error)
74 logger.addHandler(build_log)
83 logger.removeHandler(build_log)
149 logger.addHandler(console)
150 logger.setLevel(logging.INFO)
154 logger.error("can't set event mask: %s", error)
162logger.warning("buildhistory is not enabled. Please enable INHERIT += \"buildhistory\" to see imag…
[all …]
/OK3568_Linux_fs/yocto/poky/scripts/lib/resulttool/
H A Dregression.py15 def compare_result(logger, base_name, target_name, base_result, target_result): argument
29 logger.error('Failed to retrieved base test case status: %s' % k)
38 def get_results(logger, source): argument
41 def regression(args, logger): argument
42 base_results = get_results(logger, args.base_result)
43 target_results = get_results(logger, args.target_result)
45 regression_common(args, logger, base_results, target_results)
47 def regression_common(args, logger, base_results, target_results): argument
65 … res, resstr = compare_result(logger, c, b, base_results[a][c], target_results[a][b])
74 … res, resstr = compare_result(logger, c, b, base_results[a][c], target_results[a][b])
[all …]
/OK3568_Linux_fs/yocto/poky/meta/lib/oeqa/core/
H A Drunner.py19 def __init__(self, logger): argument
20 self.logger = logger
29 self.logger.log(logging.INFO, self.buffer)
32 self.logger.log(logging.INFO, msg)
35 for handler in self.logger.handlers:
69 self.tc.logger.info(self.progressinfo[test.id()])
76 self.tc.logger.info(str(msg))
81 self.tc.logger.info("SUMMARY:")
82 self.tc.logger.info("%s (%s) - Ran %d test%s in %.3fs" % (component,
91 self.tc.logger.info(msg)
[all …]
/OK3568_Linux_fs/yocto/poky/bitbake/lib/bb/tests/support/
H A Dhttpserver.py15 def server_start(self, root_dir, logger): argument
26 def __init__(self, root_dir, host='', port=0, logger=None): argument
30 if not logger:
31 logger = logging.getLogger()
32 self.logger = logger
37 …self.logger.info("Not starting HTTPService for directory %s which doesn't exist" % (self.root_dir))
43 …ocess = multiprocessing.Process(target=self.server.server_start, args=[self.root_dir, self.logger])
53 if self.logger:
54 self.logger.info("Started HTTPService on %s:%s" % (self.host, self.port))
63 if self.logger:
[all …]
/OK3568_Linux_fs/yocto/poky/documentation/tools/
H A Dupdate-documentation-conf21 logger = logging.getLogger(name)
24 logger.addHandler(loggerhandler)
25 logger.setLevel(logging.INFO)
26 return logger
27 logger = logger_create('docconfupdater')
37 logger.setLevel(logging.WARN)
40 logger.error('Specified base path %s not found')
45 logger.error('Unable to find %s' % doc_conf)
62 logger.warn('Invalid info line (no = character), ignoring: %s' % infoline)
66 logger.warn('Invalid info line (no varflag), ignoring: %s' % infoline)
[all …]
/OK3568_Linux_fs/yocto/poky/bitbake/lib/bblayers/
H A Dlayerindex.py16 logger = logging.getLogger('bitbake-layers') variable
45 logger.error("Failed to download %s (%s)" % (url, branch))
50 logger.plain("Repository %s needs to be fetched" % url)
55 logger.error("%s is not in %s" % (url, subdir))
84 logger.debug('Trying branches: %s' % branches)
97 logger.plain("You already have the requested layer(s): %s" % args.layername)
106 logger.error("Cannot get BBLAYERS_LAYERINDEX_URL")
112 logger.plain("Loading %s..." % remoteurl)
116 logger.error("Remote layer index %s is empty for branches %s" % (apiurl, branches))
125 logger.error('Layer "%s" not found in layer index' % invaluename)
[all …]
/OK3568_Linux_fs/yocto/poky/scripts/contrib/
H A Dimage-manifest26 logger = scriptutils.logger_create(os.path.basename(__file__)) variable
32 logger.error("Unable to find bitbake by searching parent directory of this script or PATH")
34 logger.debug('Using standard bitbake path %s' % bitbakepath)
62 logger.info('skipping %s' % pkg)
67 logger.debug('pkgdatafile %s' % pkgdatafile)
75 logger.warning('%s is missing' % pkgdatafile)
92 tinfoil.logger.setLevel(logger.getEffectiveLevel())
144 tinfoil.logger.setLevel(logger.getEffectiveLevel())
150 logger.debug('layername %s, layerdir %s' % (layername, layerdir))
152 logger.warning('layername %s is not unique in configuration' % layername)
[all …]
/OK3568_Linux_fs/yocto/poky/bitbake/bin/
H A Dbitbake-diffsigs27 logger = bb.msg.logger_create(myname) variable
46 logger.error(str(event))
51 logger.handle(event)
53 logger.error('No result returned from findSigInfo command')
67logger.error('No sigdata files found matching %s %s matching either %s or %s' % (pn, taskname, sig…
70logger.error('No sigdata files found matching %s %s with signature %s' % (pn, taskname, sig1))
73logger.error('No sigdata files found matching %s %s with signature %s' % (pn, taskname, sig2))
80 logger.error('No sigdata files found matching %s %s' % (pn, taskname))
155 logger.setLevel(logging.DEBUG)
169 logger.debug("Signature file: %s" % files[-1])
[all …]
H A Dbitbake-dumpsig27 logger = bb.msg.logger_create(myname) variable
46 logger.error(str(event))
51 logger.handle(event)
53 logger.error('No result returned from findSigInfo command')
67logger.error('No sigdata files found matching %s %s matching either %s or %s' % (pn, taskname, sig…
70logger.error('No sigdata files found matching %s %s with signature %s' % (pn, taskname, sig1))
73logger.error('No sigdata files found matching %s %s with signature %s' % (pn, taskname, sig2))
80 logger.error('No sigdata files found matching %s %s' % (pn, taskname))
155 logger.setLevel(logging.DEBUG)
169 logger.debug("Signature file: %s" % files[-1])
[all …]
/OK3568_Linux_fs/yocto/poky/meta/lib/oeqa/core/target/
H A Dssh.py17 def __init__(self, logger, ip, server_ip, timeout=300, user='root', argument
19 if not logger:
20 logger = logging.getLogger('target')
21 logger.setLevel(logging.INFO)
28 logger.addHandler(fileHandler)
30 super(OESSHTarget, self).__init__(logger)
70 self.logger.debug("[Running]$ %s" % " ".join(command))
73 status, output = SSHCall(command, self.logger, timeout)
74 self.logger.debug("[Command returned '%d' after %.2f seconds]"
103 self.logger.debug('Command: %s\nStatus: %d Output: %s\n' % (command, status, output))
[all …]
/OK3568_Linux_fs/yocto/poky/meta/lib/oeqa/selftest/cases/
H A Dmanifest.py26 self.logger.debug("{}: looking for {}"\
30 self.logger.debug("{}: {} not found"\
33 self.logger.debug("{}: checking of {} failed"\
45 self.logger.debug("{}: {} points to {} when target = {}"\
57 self.logger.info("{}: doing bitbake {} as a prerequisite of the test"\
60 self.logger.debug("{} Failed to setup {}"\
72 self.logger.debug("{}: doing bitbake {} as a prerequisite of the test"\
75 self.logger.debug("{} Failed to bitbake {}"\
93 self.logger.debug("{}: {} does not exist".format(
103 self.logger.debug("{}: {} does not exist".format(
[all …]
/OK3568_Linux_fs/yocto/poky/bitbake/lib/bb/asyncrpc/
H A Dserv.py27 def __init__(self, reader, writer, proto_name, logger): argument
36 self.logger = logger
41 self.logger.debug('Client %r connected' % (self.addr,))
50 self.logger.debug('Rejecting invalid protocol %s' % (self.proto_name))
55 self.logger.debug('Rejecting invalid protocol version %s' % (client_proto_version))
77 self.logger.error(str(e))
84 self.logger.debug('Handling %s' % k)
107 self.logger.error('Bad message from client: %r' % message)
122 self.logger.error('Bad message from client: %r' % lines)
136 def __init__(self, logger): argument
[all …]
/OK3568_Linux_fs/yocto/poky/scripts/lib/devtool/
H A Dsdk.py19 logger = logging.getLogger('devtool') variable
60 logger.error("More than one matching sstate object found for %s" % hashval)
75logger.error("Missing sstate-cache directory in %s, it might not be an extensible SDK." % dest_sdk)
81 logger.debug("Copying %s to %s" % (sb, dst))
95logger.debug('File %s changed: old csum = %s, new = %s' % (os.path.join(basepath, fpath), curr_chk…
104 logger.debug("updateserver: %s" % updateserver)
107 logger.debug("basepath = %s" % basepath)
110logger.error("Not using devtool's sdk-update command from within an extensible SDK. Please specify…
113 logger.debug("Found conf/locked-sigs.inc in %s" % basepath)
116 logger.error("Update server must be a URL")
[all …]
/OK3568_Linux_fs/yocto/poky/meta/lib/oeqa/selftest/
H A Dcase.py57 …cls.logger.info("Adding: \"include selftest.inc\" in %s" % os.path.join(cls.builddir, "conf/local.…
63 cls.logger.info("Adding: \"include bblayers.inc\" in bblayers.conf")
71 cls.logger.info("Removing the include from local.conf")
77 cls.logger.info("Removing the include from bblayers.conf")
140 …self.logger.warning("tearDown commands have failed: %s" % ', '.join(map(str, failed_extra_commands…
141 self.logger.debug("Trying to move on.")
160 self.logger.debug("Adding command '%s' to tearDown for this test." % command)
165 self.logger.debug("Adding path '%s' to be cleaned up when test is over" % path)
178 self.logger.debug("Writing to: %s\n%s\n" % (dest_path, data))
183 self.logger.warning('MACHINE overridden: %s' % machine)
[all …]
/OK3568_Linux_fs/yocto/poky/bitbake/lib/bb/
H A D__init__.py91 def __init__(self, logger, *args, **kwargs): argument
92 self.setup_bblogger(logger.name)
93 super().__init__(logger, *args, **kwargs)
100 return self.logger.manager
104 self.logger.manager = value
108 return self.logger.name
111 logger = self.logger
112 level = logger.getLevelName(logger.getEffectiveLevel())
113 return '<%s %s (%s)>' % (self.__class__.__name__, logger.name, level)
117 logger = logging.getLogger("BitBake") variable
[all …]

12345678910>>...14