rts: Allow output filename of eventlog to be given by command-line
authorBen Gamari <bgamari.foss@gmail.com>
Fri, 2 Nov 2018 18:24:12 +0000 (14:24 -0400)
committerBen Gamari <ben@smart-cactus.org>
Fri, 2 Nov 2018 21:13:03 +0000 (17:13 -0400)
commit5f81952e230fef1f65ae473e09d44101c489c483
tree67213bfee6bc8a8231745c835553187dae376de2
parent118fca7fe413c3cf986cd07b8694917fde190a3b
rts: Allow output filename of eventlog to be given by command-line

This introduces the `+RTS -ol` flag, which allows user to specify the
destination file for eventlog output.

Test Plan: Validate with included test

Reviewers: simonmar, erikd

Reviewed By: simonmar

Subscribers: rwbarton, carter

Differential Revision: https://phabricator.haskell.org/D5293
docs/users_guide/8.8.1-notes.rst
docs/users_guide/runtime_control.rst
includes/rts/Flags.h
rts/RtsFlags.c
rts/eventlog/EventLogWriter.c
testsuite/tests/rts/EventlogOutput.hs [new file with mode: 0644]
testsuite/tests/rts/Makefile
testsuite/tests/rts/all.T