struct te_log_buf_flag2str

Overview

Mapping of the flag within mask to string More…

#include <log_bufs.h>

struct te_log_buf_flag2str {
    // fields

    uint64_t flag;
    uint64_t mask;
    const char* str;
};

Detailed Documentation

Mapping of the flag within mask to string

Fields

uint64_t flag

Flag. May be defined as more than one bit set.

uint64_t mask

Mask applied when checking for flag. In value X flag is set when (X & mask) == flag

const char* str

String name of the flag