#include <stdio.h>
#include <sys/types.h>
#include <unistd.h>
#include "disabled.h"
#include "messages.h"
#include "messages.i"
#include "fmt.h"
#include "sample_event.h"
#include "sample_prob.h"
#include "thread_data.h"
#include "thread_use.h"
Go to the source code of this file.
|
static void | create_msg (char *buf, size_t buflen, bool add_thread_id, const char *tag, const char *fmt, va_list_box *box) |
|
void | hpcrun_emsg_valist (const char *fmt, va_list_box *box) |
|
void | hpcrun_emsg (const char *fmt,...) |
|
void | hpcrun_pmsg (const char *tag, const char *fmt,...) |
|
void | hpcrun_pmsg_stderr (bool echo_stderr, pmsg_category flag, const char *tag, const char *fmt,...) |
|
void | hpcrun_nmsg_stderr (bool echo_stderr, pmsg_category flag, const char *tag, const char *fmt,...) |
|
void | hpcrun_nmsg (pmsg_category flag, const char *tag, const char *fmt,...) |
|
void | hpcrun_amsg (const char *fmt,...) |
|
void | hpcrun_write_msg_to_log (bool echo_stderr, bool add_thread_id, const char *tag, const char *fmt, va_list_box *box) |
|
static char * | safely_get_tid_str (char *buf, size_t len) |
|
void | unlimit_msgs (void) |
|
void | limit_msgs (void) |
|
◆ DEBUG_PMSG_ASYNC
#define DEBUG_PMSG_ASYNC 0 |
◆ create_msg()
static void create_msg |
( |
char * |
buf, |
|
|
size_t |
buflen, |
|
|
bool |
add_thread_id, |
|
|
const char * |
tag, |
|
|
const char * |
fmt, |
|
|
va_list_box * |
box |
|
) |
| |
|
static |
◆ hpcrun_amsg()
void hpcrun_amsg |
( |
const char * |
fmt, |
|
|
|
... |
|
) |
| |
◆ hpcrun_emsg()
void hpcrun_emsg |
( |
const char * |
fmt, |
|
|
|
... |
|
) |
| |
◆ hpcrun_emsg_valist()
void hpcrun_emsg_valist |
( |
const char * |
fmt, |
|
|
va_list_box * |
box |
|
) |
| |
◆ hpcrun_nmsg()
void hpcrun_nmsg |
( |
pmsg_category |
flag, |
|
|
const char * |
tag, |
|
|
const char * |
fmt, |
|
|
|
... |
|
) |
| |
◆ hpcrun_nmsg_stderr()
void hpcrun_nmsg_stderr |
( |
bool |
echo_stderr, |
|
|
pmsg_category |
flag, |
|
|
const char * |
tag, |
|
|
const char * |
fmt, |
|
|
|
... |
|
) |
| |
◆ hpcrun_pmsg()
void hpcrun_pmsg |
( |
const char * |
tag, |
|
|
const char * |
fmt, |
|
|
|
... |
|
) |
| |
◆ hpcrun_pmsg_stderr()
void hpcrun_pmsg_stderr |
( |
bool |
echo_stderr, |
|
|
pmsg_category |
flag, |
|
|
const char * |
tag, |
|
|
const char * |
fmt, |
|
|
|
... |
|
) |
| |
◆ hpcrun_write_msg_to_log()
void hpcrun_write_msg_to_log |
( |
bool |
echo_stderr, |
|
|
bool |
add_thread_id, |
|
|
const char * |
tag, |
|
|
const char * |
fmt, |
|
|
va_list_box * |
box |
|
) |
| |
◆ limit_msgs()
◆ safely_get_tid_str()
static char* safely_get_tid_str |
( |
char * |
buf, |
|
|
size_t |
len |
|
) |
| |
|
static |
◆ unlimit_msgs()
void unlimit_msgs |
( |
void |
| ) |
|
◆ check_limit
◆ msg_limit
const unsigned int msg_limit = 5000 |
|
static |
◆ msgs_out
unsigned int msgs_out = 0 |
|
static |
◆ pmsg_lock