This change exercises the end-to-end functionality defined in the FDR
logging implementation. We also prepare for being able to run traces
generated by the FDR logging implementation from being analysed with the
llvm-xray command that comes with the LLVM distribution.
Details
Diff Detail
- Build Status
Buildable 5150 Build 5150: arc lint + arc unit
Event Timeline
Thanks for the quick fix and for figuring out the lit configuration.
lib/xray/xray_fdr_logging.cc | ||
---|---|---|
65 | Cool. I didn't grok the proper use of the void * args in xray_log_interface.h or how to switch on fdr via flags and just use the top level interface. | |
lib/xray/xray_utils.cc | ||
96 | This comment dangles now. There may still be a fix, necessary somewhere for how to configure Report, but the FIXME shouldn't be here. | |
test/xray/TestCases/Linux/fdr-mode.cc | ||
3 | I suspect we'll lose the exit code due to unix pipes returning the final commands exit code. If the command returns a TRACE prefix as expected, then crashes, we want a failure. | |
25–27 | This is never called AFAICT. | |
51 | Might as well lose this. It's not CHECKED. |
- fixup: address review comments
test/xray/TestCases/Linux/fdr-mode.cc | ||
---|---|---|
3 | Yes, this is currently not doing anything (notice that it's a FIXME as opposed to a RUN) :) As soon as we fix the writing of the buffer sizes in the log, we'll be ready to turn this on. |
Cool. I didn't grok the proper use of the void * args in xray_log_interface.h or how to switch on fdr via flags and just use the top level interface.