Searched refs:logfile (Results 1 - 25 of 99) sorted by relevance

1234

/external/autotest/client/bin/
H A Dsysinfo.py9 logfile = base_sysinfo.logfile variable
/external/e2fsprogs/intl/
H A Dlog.c58 FILE *logfile; local
60 /* Can we reuse the last opened logfile? */
63 /* Close the last used logfile. */
74 /* Open the logfile. */
83 logfile = last_logfile;
85 fprintf (logfile, "domain ");
86 print_escaped (logfile, domainname);
87 fprintf (logfile, "\nmsgid ");
88 print_escaped (logfile, msgid1);
91 fprintf (logfile, "\nmsgid_plura
[all...]
/external/autotest/client/site_tests/platform_CheckErrorsInLog/
H A Dplatform_CheckErrorsInLog.py21 def search_log(self, logfile):
25 logfile: string, pathname of logfile to search.
31 f = open(logfile, 'r')
37 logging.error('%s found in %s' ,line, logfile)
48 logfile = os.path.join('/var/log', log)
49 if os.path.isfile(logfile):
50 errors += self.search_log(logfile)
52 logging.warning('%s does not exist' % logfile)
/external/valgrind/nightly/bin/
H A Dnightly30 logfile=$1
34 # Header in short logfile.
37 printf " $str ... " >> $logfile.short
39 # Header and command in verbose logfile
40 printf " $str ... " >> $logfile.verbose
41 echo "$*" >> $logfile.verbose
44 ("${ABT_EVAL}" "$*") >> $logfile.verbose 2>&1
47 # Write result to the short logfile
50 echo "done" >> $logfile.short
52 echo "failed" >> $logfile
[all...]
/external/curl/tests/libtest/
H A Dtest613.pl7 print "Usage: $0 prepare|postprocess dir [logfile]\n";
48 my $logfile = $ARGV[2];
57 if ($logfile) {
73 open(IN, "<$logfile") || die "$!";
93 my $newfile = $logfile . ".new";
98 unlink $logfile;
99 rename $newfile, $logfile;
/external/libchrome/base/win/
H A Devent_trace_consumer.h91 EVENT_TRACE_LOGFILE logfile = {}; local
92 logfile.LoggerName = const_cast<wchar_t*>(session_name);
93 logfile.LogFileMode = EVENT_TRACE_REAL_TIME_MODE;
94 logfile.BufferCallback = &ProcessBufferCallback;
95 logfile.EventCallback = &ProcessEventCallback;
96 logfile.Context = this;
97 TRACEHANDLE trace_handle = ::OpenTrace(&logfile);
108 EVENT_TRACE_LOGFILE logfile = {}; local
109 logfile.LogFileName = const_cast<wchar_t*>(file_name);
110 logfile
[all...]
/external/curl/tests/
H A Dhttp2-server.pl28 my $logfile = "log/http2.log";
57 elsif($ARGV[0] eq '--logfile') {
59 $logfile = $ARGV[1];
73 "--errorlog-file=$logfile";
H A Drtspserver.pl43 my $logfile; # rtsp server log file
57 elsif($ARGV[0] eq '--logfile') {
59 $logfile = $ARGV[1];
102 if(!$logfile) {
103 $logfile = server_logfilename($logdir, $proto, $ipvnum, $idnum);
106 $flags .= "--pidfile \"$pidfile\" --logfile \"$logfile\" ";
H A Dtftpserver.pl43 my $logfile; # tftp server log file
58 elsif($ARGV[0] eq '--logfile') {
60 $logfile = $ARGV[1];
103 if(!$logfile) {
104 $logfile = server_logfilename($logdir, $proto, $ipvnum, $idnum);
107 $flags .= "--pidfile \"$pidfile\" --logfile \"$logfile\" ";
H A Dhttpserver.pl44 my $logfile; # http server log file
60 elsif($ARGV[0] eq '--logfile') {
62 $logfile = $ARGV[1];
121 if(!$logfile) {
122 $logfile = server_logfilename($logdir, $proto, $ipvnum, $idnum);
125 $flags .= "--pidfile \"$pidfile\" --logfile \"$logfile\" ";
H A Dsecureserver.pl63 my $logfile; # stunnel log file
162 elsif($ARGV[0] eq '--logfile') {
164 $logfile = "$path/". $ARGV[1];
180 if(!$logfile) {
181 $logfile = server_logfilename($logdir, $proto, $ipvnum, $idnum);
249 $cmd .= ">$logfile 2>&1";
255 print "log file: $logfile\n";
268 $cmd .= ">$logfile 2>&1";
284 print STUNCONF "output = $logfile\n";
313 print "output = $logfile\
[all...]
/external/autotest/client/profilers/kvm_modload/
H A Dkvm_modload.py34 self.logfile = open(os.path.join(test.profdir, "kvm_modload"), 'w')
35 self.logfile.write("Loaded KVM module with status %s.\n" %
37 self.log_lsmod(self.logfile)
42 self.logfile.write("Unloaded KVM module with status %s.\n" %
44 self.log_lsmod(self.logfile)
45 self.logfile.close()
/external/autotest/client/profilers/cmdprofile/
H A Dcmdprofile.py45 logfile = open(os.path.join(test.profdir, outputfile), 'a')
46 utils.run(cmd, stdout_tee=logfile, stderr_tee=logfile)
47 logfile.write('\n')
48 logfile.close()
/external/autotest/client/profilers/mpstat/
H A Dmpstat.py18 logfile = open(os.path.join(test.profdir, "mpstat"), 'w')
19 p = subprocess.Popen(cmd, shell=True, stdout=logfile,
/external/autotest/client/profilers/vmstat/
H A Dvmstat.py20 logfile = open(os.path.join(test.profdir, "vmstat"), 'w')
21 p = subprocess.Popen(cmd, shell=True, stdout=logfile, \
/external/autotest/client/profilers/perf/
H A Dperf.py37 self.logfile = os.path.join(test.profdir, "perf")
39 (self.perf_bin, self.logfile))
59 self.logfile,
68 cmd = ("%s script -i %s" % (self.perf_bin, self.logfile,))
76 perf_log_size = os.stat(self.logfile)[stat.ST_SIZE]
78 self.logfile, perf_log_size)
79 os.unlink(self.logfile)
/external/ipsec-tools/src/racoon/
H A Dplog.c79 static char *logfile = NULL; variable
108 if (logfile || f_foreground) {
167 if (logfile)
222 if (logfile) {
223 logp = log_open(250, logfile);
225 errx(1, "ERROR: failed to open log file %s.", logfile);
236 if (logfile != NULL)
237 racoon_free(logfile);
238 logfile = racoon_strdup(file);
239 STRDUP_FATAL(logfile);
[all...]
/external/autotest/client/profilers/cpistat/
H A Dcpistat.py21 logfile = open(os.path.join(test.profdir, "cpistat"), 'w')
22 p = subprocess.Popen(cmd, stdout=logfile,
/external/v8/tools/
H A Dprocess-heap-prof.py55 logfile = open(filename, 'rb')
57 logreader = csv.reader(logfile)
83 logfile.close()
113 print "Missing logfile"
/external/chromium-trace/catapult/third_party/gsutil/third_party/httplib2/python2/httplib2/test/functional/
H A Dtest_proxies.py19 LogFile "%(logfile)s"
42 self.logfile = tempfile.mktemp()
48 'logfile': self.logfile}
68 print open(self.logfile).read()
72 self.logfile,
84 lf = open(self.logfile).read()
/external/autotest/client/tests/kernbench/
H A Dkernbench.py53 logfile = os.path.join(self.debugdir, 'build_log')
55 self.kernel.build_timed(self.threads, output=logfile) # warmup run
57 if os.path.exists(logfile):
58 utils.system("gzip -9 '%s'" % logfile, ignore_status=True)
/external/autotest/client/profilers/cros_perf/
H A Dcros_perf.py34 logfile = os.path.join(test.profdir, 'perf.data')
35 self.options += ' -o %s' % logfile
/external/autotest/client/profilers/iostat/
H A Diostat.py22 logfile = open(os.path.join(test.profdir, filename), 'w')
23 p = subprocess.Popen(cmd, shell=True, stdout=logfile,
/external/autotest/client/profilers/kvm_stat/
H A Dkvm_stat.py55 logfile = open(os.path.join(test.profdir, "kvm_stat"), 'w')
56 p = subprocess.Popen(cmd, shell=True, stdout=logfile,
/external/autotest/client/profilers/sar/
H A Dsar.py54 logfile = open(os.path.join(test.profdir, "sar"), 'w')
58 self.sar_process = subprocess.Popen(cmd, shell=True, stdout=logfile,

Completed in 454 milliseconds

1234