#include <iostream>
#include <iomanip>
#include <string>
#include <stdlib.h>
#include <string.h>
#include <errno.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <unistd.h>
#include <include/hpctoolkit-config.h>
#include <include/uint.h>
#include "Args.hpp"
#include "hpcpapi.h"
#include "dlpapi.h"
#include "hpcrun.h"
#include <lib/support/diagnostics.h>
#include <lib/support/findinstall.h>
#include <lib/support/StrUtil.hpp>
Go to the source code of this file.
◆ LD_LIBRARY_PATH
#define LD_LIBRARY_PATH "LD_LIBRARY_PATH" |
◆ LD_PRELOAD
#define LD_PRELOAD "LD_PRELOAD" |
◆ SEPARATOR_MAJOR
#define SEPARATOR_MAJOR setfill('=') << setw(77) << "" << "\n\n" |
◆ SEPARATOR_MINOR
#define SEPARATOR_MINOR setfill('-') << setw(77) << "" << "\n" |
◆ check_and_prepare_env_for_eventlisting()
static int check_and_prepare_env_for_eventlisting |
( |
| ) |
|
|
static |
◆ init_papi()
static void init_papi |
( |
| ) |
|
|
static |
◆ launch_with_profiling()
static int launch_with_profiling |
( |
const char * |
installpath, |
|
|
const Args & |
args |
|
) |
| |
|
static |
◆ list_available_events()
◆ list_available_events_helper()
◆ main()
int main |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
◆ prepare_env_for_profiling()
static int prepare_env_for_profiling |
( |
const char * |
installpath, |
|
|
const Args & |
args |
|
) |
| |
|
static |
◆ prepare_ld_lib_path_for_papi()
static int prepare_ld_lib_path_for_papi |
( |
| ) |
|
|
static |
◆ prepend_to_env_var()
static int prepend_to_env_var |
( |
const char * |
env_var, |
|
|
const char * |
str, |
|
|
char |
sep |
|
) |
| |
|
static |
◆ prepend_to_ld_lib_path()
static int prepend_to_ld_lib_path |
( |
const char * |
str | ) |
|
|
static |
◆ prepend_to_ld_preload()
static int prepend_to_ld_preload |
( |
const char * |
str | ) |
|
|
static |
◆ print_external_lib_paths()
static void print_external_lib_paths |
( |
| ) |
|
|
static |
◆ real_main()
static int real_main |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
|
static |