MCPcopy Create free account
hub / github.com/dtrace4linux/linux / ctf_create

Function ctf_create

common/ctf/ctf_create.c:50–85  ·  view source on GitHub ↗

* To create an empty CTF container, we just declare a zeroed header and call * ctf_bufopen() on it. If ctf_bufopen succeeds, we mark the new container r/w * and initialize the dynamic members. We set dtstrlen to 1 to reserve the * first byte of the string table for a \0 byte, and we start assigning type * IDs at 1 because type ID 0 is used as a sentinel. */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

dt_vopenFunction · 0.85

Calls 5

bzeroFunction · 0.85
ctf_set_open_errnoFunction · 0.70
ctf_bufopenFunction · 0.70
ctf_allocFunction · 0.50
ctf_freeFunction · 0.50

Tested by

no test coverage detected