Lines Matching +full:stack +full:- +full:utils
2 # Use of this source code is governed by a BSD-style license that can be
9 from autotest_lib.client.common_lib import utils as client_utils
15 from autotest_lib.server import utils
18 from autotest_lib.utils.frozen_chromite.lib import metrics
33 symbol_dir = '%s/../../../lib/debug' % utils.get_server_dir()
63 Generates a stack trace for the specified minidump by consulting devserver.
94 Tries to generate a stack trace for the file located at |minidump|.
100 logging.info('Trying to generate stack trace locally for %s', minidump)
102 logging.info('Generated stack trace for dump %s', minidump)
105 logging.info('Failed to generate stack trace locally for '
111 logging.info('Generating stack trace using devserver for %s', minidump)
118 logging.info('Generating stack trace timed out for dump %s',
124 logging.info('Generated stack trace for dump %s', minidump)
127 logging.info('Failed to generate stack trace on devserver for dump '
131 logging.warning('Failed to generate stack trace for %s (see info logs)',
136 Finds all minidump files and generates a stack trace for each.
139 and generates a stack trace file for the minidumps. Minidump files are
140 identified as files with .dmp extension. The stack trace filename is
276 # - If one server job runs several client jobs we will only record
278 # - We will record these crashdumps whether or not we successfully
314 # tab-prefixed path names. For example, owners of "python:"
316 # sys-devel/gdb-7.7.1-r2
318 # chromeos-base/dev-install-0.0.1-r711
320 # dev-lang/python-2.7.3-r7
327 # stat: cannot stat '@@@ sys-devel/gdb-7.7.1-r2 @@@': ...
329 # stat: cannot stat '@@@ chromeos-base/dev-install-0.0.1-r711 @@@': ...
330 # 755 -rwxr-xr-x /usr/bin/python
331 # stat: cannot stat '@@@ dev-lang/python-2.7.3-r7 @@@': ...
332 # 755 drwxr-xr-x /etc/env.d/python
338 # (not directories), in this case "chromeos-base/dev-install-0.0.1-r711."
344 r'| sed -e "s/^[^\t].*/@@@ & @@@/" -e "s/^\t//"'
346 ' | xargs -0 -r stat -L -c "%a %A %n" 2>&1')
353 path_re = re.compile('^([0-7]{3,}) (.)')
362 isfile = match.group(2) == '-'