162 |
162 |
163 // File names are case-insensitive on windows only |
163 // File names are case-insensitive on windows only |
164 // Override me as needed |
164 // Override me as needed |
165 static int file_name_strcmp(const char* s1, const char* s2); |
165 static int file_name_strcmp(const char* s1, const char* s2); |
166 |
166 |
167 // get/unset environment variable |
167 // unset environment variable |
168 static bool getenv(const char* name, char* buffer, int len); |
|
169 static bool unsetenv(const char* name); |
168 static bool unsetenv(const char* name); |
170 |
169 |
171 static bool have_special_privileges(); |
170 static bool have_special_privileges(); |
172 |
171 |
173 static jlong javaTimeMillis(); |
172 static jlong javaTimeMillis(); |
589 static void print_os_info_brief(outputStream* st); |
588 static void print_os_info_brief(outputStream* st); |
590 static void print_cpu_info(outputStream* st); |
589 static void print_cpu_info(outputStream* st); |
591 static void pd_print_cpu_info(outputStream* st); |
590 static void pd_print_cpu_info(outputStream* st); |
592 static void print_memory_info(outputStream* st); |
591 static void print_memory_info(outputStream* st); |
593 static void print_dll_info(outputStream* st); |
592 static void print_dll_info(outputStream* st); |
594 static void print_environment_variables(outputStream* st, const char** env_list, char* buffer, int len); |
593 static void print_environment_variables(outputStream* st, const char** env_list); |
595 static void print_context(outputStream* st, void* context); |
594 static void print_context(outputStream* st, void* context); |
596 static void print_register_info(outputStream* st, void* context); |
595 static void print_register_info(outputStream* st, void* context); |
597 static void print_siginfo(outputStream* st, void* siginfo); |
596 static void print_siginfo(outputStream* st, void* siginfo); |
598 static void print_signal_handlers(outputStream* st, char* buf, size_t buflen); |
597 static void print_signal_handlers(outputStream* st, char* buf, size_t buflen); |
599 static void print_date_and_time(outputStream* st); |
598 static void print_date_and_time(outputStream* st); |