Re: [GHC] #4152: Add support for collecting native events with PAPI
#4152: Add support for collecting native events with PAPI --+- Reporter: dmp | Owner: simonmar Type: feature request | Status: closed Priority: normal | Milestone: Component: Runtime System |Version: 6.13 Resolution: fixed| Keywords: papi Difficulty: | Os: Unknown/Multiple Testcase: | Architecture: Unknown/Multiple Failure: None/Unknown | --+- Changes (by simonmar): * status: patch = closed * resolution: = fixed Comment: Applied, thanks: {{{ Tue Jun 22 12:59:53 PDT 2010 d...@rice.edu * Add support for collecting PAPI native events }}} -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/4152#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler ___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
Re: [GHC] #4152: Add support for collecting native events with PAPI
#4152: Add support for collecting native events with PAPI --+- Reporter: dmp | Owner: simonmar Type: feature request | Status: closed Priority: normal | Milestone: Component: Runtime System |Version: 6.13 Resolution: fixed| Keywords: papi Difficulty: | Os: Unknown/Multiple Testcase: | Architecture: Unknown/Multiple Failure: None/Unknown | --+- Changes (by kfrdbs): * cc: kfr...@… (added) -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/4152#comment:5 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler ___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
Re: [GHC] #4152: Add support for collecting native events with PAPI
#4152: Add support for collecting native events with PAPI -+-- Reporter: dmp |Owner: simonmar Type: feature request | Status: patch Priority: normal|Milestone: Component: Runtime System| Version: 6.13 Keywords: papi | Difficulty: Os: Unknown/Multiple | Testcase: Architecture: Unknown/Multiple | Failure: None/Unknown -+-- Changes (by simonmar): * owner: dmp = simonmar -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/4152#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler ___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
[GHC] #4152: Add support for collecting native events with PAPI
#4152: Add support for collecting native events with PAPI -+-- Reporter: dmp | Owner: dmp Type: feature request | Status: new Priority: normal| Component: Runtime System Version: 6.13 |Keywords: papi Os: Unknown/Multiple |Testcase: Architecture: Unknown/Multiple | Failure: None/Unknown -+-- The PAPI support in the RTS allows users to collect a group of preset PAPI events (e.g. {{{PAP_TOT_CYC}}}). However, PAPI can also collect data for native events exposed by the hardware beyond the PAPI present events. The native events supported on your hardware can found by using the {{{papi_native_avail}}} tool. It would be great if the RTS allows users to collect native events along with the preset events. -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/4152 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler ___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
Re: [GHC] #4152: Add support for collecting native events with PAPI
#4152: Add support for collecting native events with PAPI -+-- Reporter: dmp | Owner: dmp Type: feature request | Status: patch Priority: normal| Component: Runtime System Version: 6.13 |Keywords: papi Os: Unknown/Multiple |Testcase: Architecture: Unknown/Multiple | Failure: None/Unknown -+-- Changes (by dmp): * status: new = patch Comment: Attaching a patch that extends PAPI support to allow users to specify native events. The changes included are: 1) New option (#) for the RTS PAPI flag for native events. For example, to collect the native event 0x4000, use {{{./a.out +RTS -a#0x4000 -sstderr}}} 2) Update the PAPI_FLAGS struct to store whether the user specified event is a papi preset or a native event 3) Update init_countable_events function to add the native events after parsing the event code and decoding the name using PAPI_event_code_to_name The patch validates against HEAD. The validation script does not by default enable PAPI support so the changes do not really get tested by a validate. It also validates after enabling PAPI support, but that requires another (unrelated) patch to get validate to work with PAPI enabled (see #4151). -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/4152#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler ___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
Re: [GHC] #4152: Add support for collecting native events with PAPI
#4152: Add support for collecting native events with PAPI -+-- Reporter: dmp | Owner: dmp Type: feature request | Status: patch Priority: normal| Component: Runtime System Version: 6.13 |Keywords: papi Os: Unknown/Multiple |Testcase: Architecture: Unknown/Multiple | Failure: None/Unknown -+-- Comment(by dmp): Replying to [comment:1 dmp]: Messed up the formatting. Trying again. Attaching a patch that extends PAPI support to allow users to specify native events. The changes included are: 1) New option (#) for the RTS PAPI flag for native events. For example, to collect the native event 0x4000, use {{{./a.out +RTS -a#0x4000 -sstderr}}} 2) Update the PAPI_FLAGS struct to store whether the user specified event is a papi preset or a native event 3) Update init_countable_events function to add the native events after parsing the event code and decoding the name using PAPI_event_code_to_name The patch validates against HEAD. The validation script does not by default enable PAPI support so the changes do not really get tested by a validate. It also validates after enabling PAPI support, but that requires another (unrelated) patch to get validate to work with PAPI enabled (see #4151). -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/4152#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler ___ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs