man.bsd.lv manual page server

Manual Page Search Parameters

sysdecode_utrace(3) Library Functions Manual sysdecode_utrace(3)

sysdecode_utraceproduce text description of a utrace record

library “libsysdecode”

#include <sys/types.h>
#include <stdbool.h>
#include <stdio.h>
#include <sysdecode.h>

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

The () 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 () function currently recognizes utrace(2) records generated by malloc(3) and rtld(1).

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

utrace(2), sysdecode(3)

November 24, 2017 FreeBSD-12.0