We're working in extending the systrace tool to add customized information for our devices. We're specifically interested in knowing how does android support TRACE generation. What is the architecture and mechanisms that are involved in tracing events, zigote, finders, jvm starting, android starting, linux calls, hardware calls, etc.
Can anybody please help us with some links or manuals about this information ?
We will specially appreciate technical documentation for adb atrace tool and any other related module.
Information of trace file format is also of our interest, where can we find this trace files and how can we extend them to add more information ?
Detail :
In systrace.py line 81 we find:
atrace_args = ['adb', 'shell', 'atrace', '-z']
We know that this generates some tracing files in /sys/kernel/debug/tracing/
Our main interest is to know where, when and how are these files generated ?
Thank you very much !