Home
last modified time | relevance | path

Searched refs:headCtx (Results 1 – 1 of 1) sorted by relevance

/dalvik/vm/hprof/
DHprof.cpp70 hprof_context_t *headCtx = (hprof_context_t *)calloc(1, sizeof(*headCtx)); in hprofShutdown() local
71 if (headCtx == NULL) { in hprofShutdown()
76 hprofContextInit(headCtx, strdup(tailCtx->fileName), tailCtx->fd, true, in hprofShutdown()
80 hprofDumpStrings(headCtx); in hprofShutdown()
81 hprofDumpClasses(headCtx); in hprofShutdown()
86 hprofStartNewRecord(headCtx, HPROF_TAG_STACK_TRACE, HPROF_TIME); in hprofShutdown()
87 hprofAddU4ToRecord(&headCtx->curRec, HPROF_NULL_STACK_TRACE); in hprofShutdown()
88 hprofAddU4ToRecord(&headCtx->curRec, HPROF_NULL_THREAD); in hprofShutdown()
89 hprofAddU4ToRecord(&headCtx->curRec, 0); // no frames in hprofShutdown()
91 hprofFlushCurrentRecord(headCtx); in hprofShutdown()
[all …]