commit | dd85c5c9cc6ff58737809668d993c5e6eab673d7 | [log] [tgz] |
---|---|---|
author | Zhuoyao Zhang <zhuoyao@google.com> | Tue Jan 03 17:30:24 2017 -0800 |
committer | Zhuoyao Zhang <zhuoyao@google.com> | Wed Jan 11 11:37:15 2017 -0800 |
tree | 7f66f6a00bd4d1ae536c525c5115c7af45db852b | |
parent | dfb73b4e0651e8f554aba73be9461b1821c49fac [diff] |
Support to enable profiling dynamically. * Add an additonal reserved method setHALInstrumentation to enable/disable instrumentation during the hal execution. Test: make hidl-gen Change-Id: Iaf20e3f798a51b111bffd2e7294973bce0cabf9e
croot make hidl-gen
hidl-gen -o output-path -L language (-r interface-root) fqname output-path: directory to store the output files. language: output file for given language. e.g.c++, vts.. fqname: fully qualified name of the input files. For singe file input, follow the format: package@version::fileName For directory input, follow the format: package@version interface-root(optional): prefix and root path for fqname. If not set, use the default prefix: android.hardware and default root path defined in $TOP. examples: croot hidl-gen -o output -L c++ -r android.hardware:hardware/interfaces -r android.hidl:system/libhidl/transport android.hardware.nfc@1.0::INfc.hal hidl-gen -o output -L vts -r android.hardware:hardware/interfaces -r android.hidl:system/libhidl/transport android.hardware.nfc@1.0 hidl-gen -o test -L c++ -r android.hardware:hardware/interfaces -r android.hidl:system/libhidl/transport android.hardware.nfc@1.0