commit | 0f99e42edd46c9928032ca643d054000a61819c8 | [log] [tgz] |
---|---|---|
author | Jiwoong Lee <porce@google.com> | Sun Oct 15 22:43:18 2017 -0700 |
committer | Jiwoong Lee <porce@google.com> | Mon Oct 16 23:08:51 2017 +0000 |
tree | beec1c64013a2dfb5f226554d8fe478c7d492974 | |
parent | 2e8495592a6778eda811aa2b9d851878affe2388 [diff] |
[scripts] flog: A friendly log listener flog is a wrapper for loglistener and fsymbolize with following features: - Automatically decode symbols from crash logs - Archive crash logs with date-timed file name - Selectively show logs by begin-triggers, end-triggers, and suppress-triggers - Colorize keywords that are configurable - Colorize lines matching keywords that are configurable - Pass through remaining arguments to loglistener [How to use] [Example #1] $ ./flog [device-name] [Example #2] $ ./flog --help [Example #3] $ flog --begin 'my module starts,rare event' --end 'my module ends' --suppress 'verbose,chatty' --lines 'error msg:red,warn:blue' --words 'register 0x00:green,exit:yellow' [Screenshots for code reviewers] https://screenshot.googleplex.com/2BUaamf0JgN https://screenshot.googleplex.com/Cp05FbqbQzg Change-Id: Ic68b675b82ff1c3c7e826fb31c4cb581b2b5daec
This repository is for scripts useful when hacking on Fuchsia. This repository should contain scripts that perform tasks spanning multiple repositories. Scripts that only operate within a single repository should live in the relevant repository.
The push-package.py script pushes all of the files in a particular package. No checking is performed for incremental changes.
The sample command lines below can be used to build the “modular” package and then push it to the default device. This assumes you have already booted your device with a version of Fuchsia that contains the most recent version of all other packages.
fbuild apps/modular scripts/push-package.py -o $FUCHSIA_BUILD_DIR packages/gn/modular
fpublish from env.sh will take a package from the build and create a Fuchsia package manager package from a build package. It will then add the package to a local update respository which, by default, is put at ${FUCHSIA_BUILD_DIR}/amber-files. It will also add the package content files to the update repository and name these file after their Merkle Root. If a package name is supplied to fpublish, only that package will be processed. If no name is supplied, all the packages made by the build will be included.