#include <errno.h>
#include <fcntl.h>
#include <limits.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <sys/time.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdbool.h>
#include "env.h"
#include "disabled.h"
#include "files.h"
#include "messages.h"
#include "thread_data.h"
#include "loadmap.h"
#include "sample_prob.h"
#include <lib/prof-lean/spinlock.h>
#include <lib/support-lean/OSUtil.h>
Go to the source code of this file.
◆ FILENAME_TEMPLATE
#define FILENAME_TEMPLATE "%s/%s-%06u-%03d-" HOSTID_FORMAT "-%u-%d.%s" |
◆ FILES_EARLY
◆ FILES_LATE
◆ FILES_MAX_GEN
◆ FILES_RANDOM_GEN
#define FILES_RANDOM_GEN 4 |
◆ hpcrun_files_executable_name()
const char* hpcrun_files_executable_name |
( |
| ) |
|
◆ hpcrun_files_executable_pathname()
const char* hpcrun_files_executable_pathname |
( |
| ) |
|
◆ hpcrun_files_init()
static void hpcrun_files_init |
( |
void |
| ) |
|
|
static |
◆ hpcrun_files_next_id()
static int hpcrun_files_next_id |
( |
struct fileid * |
id | ) |
|
|
static |
◆ hpcrun_files_output_directory()
const char* hpcrun_files_output_directory |
( |
| ) |
|
◆ hpcrun_files_set_directory()
void hpcrun_files_set_directory |
( |
| ) |
|
◆ hpcrun_files_set_executable()
void hpcrun_files_set_executable |
( |
char * |
execname | ) |
|
◆ hpcrun_open_file()
static int hpcrun_open_file |
( |
int |
rank, |
|
|
int |
thread, |
|
|
const char * |
suffix, |
|
|
int |
flags |
|
) |
| |
|
static |
◆ hpcrun_open_log_file()
int hpcrun_open_log_file |
( |
void |
| ) |
|
◆ hpcrun_open_profile_file()
int hpcrun_open_profile_file |
( |
int |
rank, |
|
|
int |
thread |
|
) |
| |
◆ hpcrun_open_trace_file()
int hpcrun_open_trace_file |
( |
int |
thread | ) |
|
◆ hpcrun_rename_file()
static int hpcrun_rename_file |
( |
int |
rank, |
|
|
int |
thread, |
|
|
const char * |
suffix |
|
) |
| |
|
static |
◆ hpcrun_rename_log_file()
int hpcrun_rename_log_file |
( |
int |
rank | ) |
|
◆ hpcrun_rename_log_file_early()
static void hpcrun_rename_log_file_early |
( |
int |
rank | ) |
|
|
static |
◆ hpcrun_rename_trace_file()
int hpcrun_rename_trace_file |
( |
int |
rank, |
|
|
int |
thread |
|
) |
| |
◆ default_path
char default_path[PATH_MAX] = {'\0'} |
|
static |
◆ earlyid
◆ executable_name
char executable_name[PATH_MAX] = {'\0'} |
|
static |
◆ executable_pathname
char executable_pathname[PATH_MAX] = {'\0'} |
|
static |
◆ files_lock
◆ lateid
◆ log_done
◆ log_rename_done
◆ log_rename_ret
◆ mypid
◆ output_directory
char output_directory[PATH_MAX] = {'\0'} |
|
static |