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

12345

/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/ltp/testcases/kernel/sched/sched_stress/
H A Dsched.c45 extern FILE *logfile;
63 if ((logfile = fopen(filename, "a")) == (FILE *) NULL)
78 fprintf(logfile, args);
79 fflush(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/ltp/testscripts/build/
H A Dltp-missing-install-files.py30 parser = OptionParser(usage='usage: %prog [options] logfile ...')
41 for logfile in logfiles:
42 if not os.access(logfile, os.R_OK):
43 sys.exit("%s not readable" % logfile)
60 for logfile in logfiles:
61 fd = open(logfile)
114 print "\n".join(["%s: %s" % (os.path.basename(logfile), i) for i in ["Tag | App"] + missing_ents])
116 print "%s: CONGRATULATIONS -- no missing files found!" % os.path.basename(logfile)
/external/ltp/tools/pounder21/
H A Ddebug.c40 FILE *logfile; local
43 logfile = fopen(buf, "a");
44 if (logfile == NULL) {
58 if (logfile != NULL) {
59 fprintf(logfile, "%s (%d) ", buf, getpid());
61 vfprintf(logfile, format, args);
63 fclose(logfile);
/external/ltp/testcases/kernel/ipc/ipc_stress/
H A Dmessage_queue_test_04.c36 | Usage: message_queue_test_04 [-v] [-l logfile ] |
72 #define USAGE "\nUsage: %s [-v] [-l logfile ]\n\n"
92 FILE *logfile; variable
120 if ((logfile = fopen(log_filename, "w")) == NULL)
129 fprintf(logfile, "%s: IPC Message Queue TestSuite program\n\n",
141 fprintf(logfile, "\tCreated message queue: %d\n\n", msqid);
169 fprintf(logfile, "\tMax num of bytes per queue: %ld\n",
171 fprintf(logfile, "\tMax messages per queue: %d\n",
173 fprintf(logfile, "\tCorresponding message size: %ld\n\n",
200 fprintf(logfile, "\tByte
[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\" ";
/external/libcups/cups/
H A Ddebug-private.h81 # define DEBUG_set(logfile,level,filter) _cups_debug_set(logfile,level,filter,1)
86 # define DEBUG_set(logfile,level,filter)
99 extern void DLLExport _cups_debug_set(const char *logfile,
/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/ltp/testscripts/
H A Dltpstress.sh47 logfile="/tmp/ltpstress.log"
61 usage: ${0##*/} [ -d datafile ] [ -i # (in seconds) ] [ -I iofile ] [ -l logfile ] [ -m # (in Mb) ]
67 -l logfile Log results of test in a logfile. Default is "/tmp/ltpstress.log"
109 l) logfile=$OPTARG
305 ${LTPROOT}/bin/ltp-pan -e ${PRETTY_PRT} ${QUIET_MODE} -S -t ${hours}h -a stress1 -n stress1 -l $logfile -f ${TMP}/stress.part1 -o $output1 &
306 ${LTPROOT}/bin/ltp-pan -e ${PRETTY_PRT} ${QUIET_MODE} -S -t ${hours}h -a stress2 -n stress2 -l $logfile -f ${TMP}/stress.part2 -o $output2 &
307 ${LTPROOT}/bin/ltp-pan -e ${PRETTY_PRT} ${QUIET_MODE} -S -t ${hours}h -a stress3 -n stress3 -l $logfile -f ${TMP}/stress.part3 -o $output3 &
338 grep FAIL $logfile > /dev/null 2>&1
340 grep 'stat=' $logfile | gre
[all...]
H A DrunEALtests.sh51 usage: ./${0##*/} -c [-d tmpdir] [-f cmdfile ] [-i # (in Mb)] [ -l logfile ]
59 -l logfile Log results of test in a logfile.
110 logfile="-l $LTPROOT/results/$OPTARG"
118 logfile="-l $LTPROOT/results/$OPTARG"
122 logfile="-l $OPTARG"
210 ${LTPROOT}/../bin/ltp-pan $quiet_mode -e -S $instances $duration -a $$ -n $$ $pretty_prt -f ${TMP}/alltests $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/ltp/tools/pounder21/test_repo/
H A DD01stats57 logfile=`basename $i`
58 echo -e "\n$NOW" >> $logfile.log
59 cat /proc/$i >> $logfile.log

Completed in 2356 milliseconds

12345