On 5/12/19 9:55 PM, Jinke Fan wrote:
> Hi,
>
> Add support for which AMD family id bigger than 15h to
> oprofile-tests.
>
> Related links:
> https://sourceforge.net/p/oprofile/oprofile/ci/c4c981a6fcb978b271d2b7ce2dea7abf56efe808/
>
> Signed-off-by: fanjinke <fan...@ye...>
> ---
> testsuite/lib/op_events.exp | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/testsuite/lib/op_events.exp b/testsuite/lib/op_events.exp
> index 9ddfda7..a5a4e43 100644
> --- a/testsuite/lib/op_events.exp
> +++ b/testsuite/lib/op_events.exp
> @@ -854,6 +854,7 @@ proc select_cpu_events {cpu_name} {
> ppc64_POWER9 {set type power9}
> i386/knightslanding {set type knightslanding}
> Intel_Knights_Landing {set type knightslanding}
> + AMD64_generic {set type amd_generic}
>
> }
>
Hi,
The patch looks plausible. Have you tested it with the patched oprofile on the Hygon Dhyana processor? What do the results look like?
-Will
|