MCPcopy Create free account
hub / github.com/KDE/heaptrack / updateModuleCache

Method updateModuleCache

src/track/libheaptrack.cpp:627–638  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

625 }
626
627 void updateModuleCache()
628 {
629 if (!s_data || !s_data->out.canWrite() || !s_data->moduleCacheDirty) {
630 return;
631 }
632 debugLog<MinimalOutput>("%s", "updateModuleCache()");
633 if (!s_data->out.write("m 1 -\n")) {
634 return;
635 }
636 dl_iterate_phdr(&dl_iterate_phdr_callback, this);
637 s_data->moduleCacheDirty = false;
638 }
639
640 void writeError()
641 {

Callers

nothing calls this directly

Calls 2

canWriteMethod · 0.80
writeMethod · 0.80

Tested by

no test coverage detected