[GHC] #14660: Improve +RTS -t --machine-readable

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[GHC] #14660: Improve +RTS -t --machine-readable

GHC - devs mailing list
#14660: Improve +RTS -t --machine-readable
-------------------------------------+-------------------------------------
           Reporter:  duog           |             Owner:  (none)
               Type:  task           |            Status:  new
           Priority:  normal         |         Milestone:
          Component:  Runtime        |           Version:  8.3
  System                             |
           Keywords:                 |  Operating System:  Unknown/Multiple
       Architecture:                 |   Type of failure:  None/Unknown
  Unknown/Multiple                   |
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 The output of +RTS -t --machine-readable is a shown Haskell list, so we
 can easily add fields. Let's add everything shown by +RTS -s .
 I've posted a rough patch that does that at Phab:D4303.

 If this is a good idea, I'd like to also add the following:
 * a data structure and parsing function to GHC.Stats in base.
 * The ghc version as a field in the --machine-readable output
 * The rts ways as a field in the --machine-readable output

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14660>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler

_______________________________________________
ghc-tickets mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-tickets
Reply | Threaded
Open this post in threaded view
|

Re: [GHC] #14660: Improve +RTS -t --machine-readable

GHC - devs mailing list
#14660: Improve +RTS -t --machine-readable
-------------------------------------+-------------------------------------
        Reporter:  duog              |                Owner:  (none)
            Type:  task              |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Runtime System    |              Version:  8.3
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by mpickering):

 It could just be output as a JSON record rather than relying on having to
 use Haskell tooling to parse it.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14660#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler

_______________________________________________
ghc-tickets mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-tickets
Reply | Threaded
Open this post in threaded view
|

Re: [GHC] #14660: Improve +RTS -t --machine-readable

GHC - devs mailing list
In reply to this post by GHC - devs mailing list
#14660: Improve +RTS -t --machine-readable
-------------------------------------+-------------------------------------
        Reporter:  duog              |                Owner:  (none)
            Type:  task              |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Runtime System    |              Version:  8.3
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by duog):

 Using a JSON record would break existing tooling, which is a little on the
 nose since this output has been documented as being forwards compatible.

 It would be good to have a nice structured record for the per-generations
 stats though.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14660#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler

_______________________________________________
ghc-tickets mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-tickets
Reply | Threaded
Open this post in threaded view
|

Re: [GHC] #14660: Improve +RTS -t --machine-readable

GHC - devs mailing list
In reply to this post by GHC - devs mailing list
#14660: Improve +RTS -t --machine-readable
-------------------------------------+-------------------------------------
        Reporter:  duog              |                Owner:  (none)
            Type:  task              |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Runtime System    |              Version:  8.3
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D4303
       Wiki Page:                    |
-------------------------------------+-------------------------------------
Changes (by duog):

 * differential:   => Phab:D4303


--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14660#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler

_______________________________________________
ghc-tickets mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-tickets