sysdecode_utrace(3)

sysdecode_utrace3

Produce text description of a utrace record

Usage

#include <sysdecode.h>

int

sysdecode_utrace(FILE *fp, void *buf, size_t len, int decimal);

Library

library “libsysdecode”

Overview

The sysdecode_utrace() function outputs a textual representation of a utrace(2) record identified by buf and len to the output stream fp.

The function only outputs a representation for certain types of records. If a record is recognized, the function outputs the description and returns a non-zero value. If the record is not recognized, the function does not output anything and returns zero. The sysdecode_utrace() function currently recognizes utrace(2) records generated by malloc(3) and rtld(1).

Return values

The sysdecode_utrace() function returns a non-zero value if it recognizes a utrace(2) record; otherwise it returns zero.

Releases

25 releases since FreeBSD 11.0-RELEASE; the text changed 12 times.

  1. 11.0
  2. 11.1
  3. 11.2
  4. 11.3
  5. 11.4
  6. 12.0
  7. 12.1
  8. 12.2
  9. 12.3
  10. 12.4
  11. 13.0–13.1
  12. 13.2
  13. 13.3–16.0

From base 16.0-CURRENT-20261027-61c70dc16a79 in FreeBSD 16.0-CURRENT (2026-10-27). Parsed by carta from the page's mdoc source.