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 09dd82e commit e7ddac3
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 @@ -379,6 +379,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 @@ -411,6 +413,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 e7ddac3

Please sign in to comment.