Lines Matching refs:DmTrace
9 #include "dmtrace.h"
13 const DmTrace::Header DmTrace::header = {
14 0x574f4c53, kVersion, sizeof(DmTrace::Header), 0LL
22 DmTrace::DmTrace() {
29 DmTrace::~DmTrace() {
34 void DmTrace::open(const char *dmtrace_file, uint64_t start_time)
44 strcpy(tmpData, "/tmp/dmtrace-data-XXXXXX");
62 void DmTrace::close()
83 void DmTrace::write2LE(FILE* fstream, unsigned short val)
89 void DmTrace::write4LE(FILE* fstream, unsigned int val)
97 void DmTrace::write8LE(FILE* fstream, unsigned long long val)
109 void DmTrace::writeHeader(FILE *fstream, uint64_t startTime)
117 void DmTrace::writeDataRecord(FILE *fstream, int threadId,
126 void DmTrace::addFunctionEntry(int functionId, uint32_t cycle, uint32_t pid)
131 void DmTrace::addFunctionExit(int functionId, uint32_t cycle, uint32_t pid)
136 void DmTrace::addFunction(int functionId, const char *name)
144 void DmTrace::addFunction(int functionId, const char *clazz,
156 void DmTrace::parseAndAddFunction(int functionId, const char *name)
209 void DmTrace::addThread(int threadId, const char *name)
217 void DmTrace::updateName(int threadId, const char *name)
229 void DmTrace::writeKeyFile(FILE *fstream)
237 void DmTrace::writeThreads(FILE *fstream)
247 void DmTrace::writeFunctions(FILE *fstream)