Home
last modified time | relevance | path

Searched refs:log (Results 1 – 25 of 40) sorted by relevance

12

/build/soong/ui/build/
Dsignal.go41 func SetupSignals(log logger.Logger, cancel, cleanup func()) {
44 go handleSignals(signals, log, cancel, cleanup)
47 func handleSignals(signals chan os.Signal, log logger.Logger, cancel, cleanup func()) {
58 log.Println("Still alive, killing subprocesses...")
63 log.Println("Still alive, cleaning up...")
69 defer log.Panicln("Timed out exiting...")
74 log.Panicln("Got signal, but timed out exiting...")
81 log.Println("Got signal:", s)
Dpath.go163 for log := range entries {
165 for i, proc := range log.Parents {
167 log.Parents = log.Parents[i:]
176 if len(log.Parents) > 0 {
178 for i, proc := range log.Parents {
184 config := paths.GetConfig(log.Basename)
186 ctx.Printf("Disallowed PATH tool %q used: %#v", log.Basename, log.Args)
191 ctx.Verbosef("Unknown PATH tool %q used: %#v", log.Basename, log.Args)
/build/soong/cmd/multiproduct_kati/
Dmain.go110 func setMaxFiles(log logger.Logger) {
115 log.Println("Failed to get file limit:", err)
119 log.Verbosef("Current file limits: %d soft, %d hard", limits.Cur, limits.Max)
127 log.Println("Failed to increase file limit:", err)
174 log := logger.New(output)
175 defer log.Cleanup()
182 trace := tracer.New(log)
192 build.SetupSignals(log, cancel, func() {
194 log.Cleanup()
200 Logger: log,
[all …]
/build/soong/scripts/
Dbuild_broken_logs.go160 log := devices[device]
163 if log.BuildBroken[n] == nil || *log.BuildBroken[n] == false {
164 if log.HasBroken[n] > 0 {
167 if log.HasBroken[n] > 1 {
170 …fmt.Printf(" %s needs to set %s := true (%d instance%s)\n", device, setting.name, log.HasBroken[…
172 } else if log.HasBroken[n] == 0 {
177 if log.BuildBroken[n] == nil {
179 } else if *log.BuildBroken[n] == false {
182 } else if log.HasBroken[n] == 0 {
187 if log.BuildBroken[n] != nil {
[all …]
/build/soong/ui/logger/
Dlogger_test.go101 log := New(&bytes.Buffer{})
113 defer log.Cleanup()
115 log.Panic(panicValue)
132 log := New(&bytes.Buffer{})
137 defer log.Cleanup()
138 log.Fatal("Test")
154 log := New(&bytes.Buffer{})
155 defer log.Cleanup()
156 log.Println("Test")
169 log := New(&bytes.Buffer{})
[all …]
Dlogger.go130 } else if log, ok := p.(fatalLog); ok {
131 fn(error(log))
138 stderr *log.Logger
141 fileLogger *log.Logger
153 stderr: log.New(out, "", log.Ltime),
154 fileLogger: log.New(ioutil.Discard, "", log.Ldate|log.Lmicroseconds|log.Llongfile),
/build/soong/third_party/zip/
Dexample_test.go35 log.Fatal(err)
39 log.Fatal(err)
46 log.Fatal(err)
54 log.Fatal(err)
64 log.Fatal(err)
68 log.Fatal(err)
/build/soong/cuj/
Dcuj.go52 log := logger.New(output)
53 defer log.Cleanup()
58 trace := tracer.New(log)
68 build.SetupSignals(log, cancel, func() {
70 log.Cleanup()
76 Logger: log,
91 log.SetOutput(filepath.Join(logsDir, "soong.log"))
93 stat.AddOutput(status.NewVerboseLog(log, filepath.Join(logsDir, "verbose.log")))
94 stat.AddOutput(status.NewErrorLog(log, filepath.Join(logsDir, "error.log")))
95 stat.AddOutput(status.NewProtoErrorLog(log, filepath.Join(logsDir, "build_error")))
[all …]
/build/soong/ui/tracer/
Dtracer.go58 log logger.Logger member
92 func New(log logger.Logger) *tracerImpl {
94 log: log,
116 t.log.Println("Error closing trace writer:", err)
120 t.log.Println("Error closing trace file:", err)
141 t.log.Println("Failed to create trace file:", err)
151 t.log.Println("Failed to write trace buffer to file:", err)
175 t.log.Println("Failed to marshal event:", err)
176 t.log.Verbosef("Event: %#v", event)
187 t.log.Println("Trace write error:", err)
Dmicrofactory.go69 t.log.Verboseln("Error opening microfactory trace:", err)
80 t.log.Verboseln("Unknown line in microfactory trace:", s.Text())
85 t.log.Verboseln("Failed to parse timestamp in microfactory trace:", err)
/build/soong/ui/status/
Dlog.go37 func NewVerboseLog(log logger.Logger, filename string) StatusOutput {
44 log.Println("Failed to create verbose log file:", err)
92 func NewErrorLog(log logger.Logger, filename string) StatusOutput {
95 log.Println("Failed to create error log file:", err)
155 log logger.Logger member
158 func NewProtoErrorLog(log logger.Logger, filename string) StatusOutput {
163 log: log,
184 e.log.Printf("Failed to write file %s: %v\n", e.filename, err)
204 log logger.Logger member
208 func NewBuildProgressLog(log logger.Logger, filename string) StatusOutput {
[all …]
Dcritical_path.go23 func NewCriticalPath(log logger.Logger) StatusOutput {
25 log: log,
33 log logger.Logger member
111 cp.log.Verbosef("critical path took %s", criticalTime.String())
114 cp.log.Verbosef("elapsed time %s", elapsedTime.String())
116 cp.log.Verbosef("perfect parallelism ratio %d%%",
120 cp.log.Verbose("critical path:")
125 cp.log.Verbosef(" %2d:%02d %s",
/build/soong/cmd/dep_fixer/
Dmain.go41 log.Fatal("Expected at least one input file as an argument")
50 log.Fatalf("Error opening %q: %v", arg, err)
55 log.Fatalf("Failed to parse: %v", err)
72 log.Fatalf("Failed to write: %v", err)
78 log.Fatalf("Failed to write to %q: %v", *output, err)
/build/bazel/scripts/milestone-2/
Ddemo.sh51 function log() { function
63 log "Running the bp2build converter.."
65 log "Successfully generated BUILD files in out/soong/bp2build."
70 log "Running bazel query //bionic/..."
76 log "Running bazel build //bionic/..."
110 log "($action) done."
/build/soong/cmd/zipsync/
Dzipsync.go38 log.Fatal(err)
98 log.Fatal(err)
112 log.Fatal(err)
118 log.Fatalf("%q in %q is an absolute path", name, input)
122 log.Fatalf("%q found in both %q and %q", name, prev, input)
133 log.Fatal(err)
/build/soong/finder/cmd/
Dfinder.go104 logger := log.New(writer, "", log.Ldate|log.Lmicroseconds|log.Lshortfile)
149 func runFind(params finder.CacheParams, logger *log.Logger) (paths []string, err error) {
/build/soong/cmd/extract_linker/
Dmain.go42 log.Fatalf("Error opening %q: %v", flag.Arg(0), err)
48 log.Fatalf("Unable to read elf file: %v", err)
102 log.Fatalf("Unable to write %q: %v", asmPath, err)
109 log.Fatalf("Unable to write %q: %v", flagsPath, err)
/build/pesto/experiments/prepare_bazel_test_env/data/static/build/bazel/rules/
Dcc_tf_test_launcher.sh33 --log-level-display VERBOSE \
34 --log-level VERBOSE \
/build/soong/cmd/soong_ui/
Dmain.go169 log := logger.New(output)
170 defer log.Cleanup()
177 trace := tracer.New(log)
193 build.SetupSignals(log, cancel, func() {
195 log.Cleanup()
201 Logger: log,
232 log.SetOutput(filepath.Join(logsDir, c.logsPrefix+"soong.log"))
234 stat.AddOutput(status.NewVerboseLog(log, filepath.Join(logsDir, c.logsPrefix+"verbose.log")))
235 stat.AddOutput(status.NewErrorLog(log, filepath.Join(logsDir, c.logsPrefix+"error.log")))
236 stat.AddOutput(status.NewProtoErrorLog(log, buildErrorFile))
[all …]
/build/soong/cmd/zip2zip/
Dzip2zip.go78 log.SetFlags(log.Lshortfile)
82 log.Fatal(err)
88 log.Fatal(err)
96 log.Fatal(err)
103 log.Fatal(err)
/build/soong/cmd/extract_jar_packages/
Dextract_jar_packages.go37 log.Fatal(err)
63 log.Fatal(err)
/build/soong/cc/
Dcompdb.go86 log.Fatalf("Could not create file %s: %s", compDBFile, err)
102 log.Fatalf("Failed to marshal: %s", err)
110 log.Fatalf("Unable to symlink %s to %s: %s", compDBFile, finalLinkPath, err)
149 log.Print("Unknown file extension " + src.Ext() + " on file " + src.String())
/build/make/tools/warn/
Dwarn_common.py105 if not flags.log:
106 flags.log = flags.buildlog
107 if not use_google3 and not os.path.exists(flags.log):
108 sys.exit('Cannot find log file: ' + flags.log)
551 with io.open(logfile, encoding='utf-8') as log:
552 warning_lines_and_links, header_str = parse_input_file(log, flags)
580 logfile=flags.log, flags=flags, project_names=project_names,
/build/make/
DUsage.txt43 During a build, a few log files are generated in ${OUT} (or ${DIST_DIR}/logs
46 verbose.log.gz
49 error.log
51 soong.log
/build/soong/cc/ndkstubgen/
D.gitignore38 pip-log.txt
61 *.log

12