Skip to content

Commit

Permalink
Add profinfo, profinfo_width to ocamlrun -config
Browse files Browse the repository at this point in the history
  • Loading branch information
dra27 committed Feb 5, 2020
1 parent ccf6e79 commit 3ad11ff
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions runtime/startup_byt.c
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,8 @@ static void do_print_config(void)
"windows_unicode: %s\n"
"supports_shared_libraries: %s\n"
"no_naked_pointers: %s\n"
"profinfo: %s\n"
"profinfo_width: %d\n"
"exec_magic_number: %s\n",
OCAML_VERSION_STRING,
caml_stat_strdup_of_os(OCAML_STDLIB_DIR),
Expand Down Expand Up @@ -414,6 +416,11 @@ static void do_print_config(void)
"true",
#else
"false",
#endif
#ifdef WITH_PROFINFO
"true", PROFINFO_WIDTH,
#else
"false", 0,
#endif
EXEC_MAGIC);

Expand Down

0 comments on commit 3ad11ff

Please sign in to comment.