Re: [PATCH] Remove Powerpc OProfile events the kernel will reject

大平怜 <[email protected]>
Newsgroups gmane.linux.oprofile
Message-ID <CAERM-PixibgyT5i90o_VzmZ31e_su-ukUQ7v4kNnyNXZDQ561g@mail.gmail.com>
Carl, Will,

After this particular commit, I cannot run any OProfile command, even
ophelp, on POWER8.

$ ./ophelp --version
./ophelp: oprofile 1.2.0git compiled on Nov 19 2015 10:43:15
$ ./ophelp
um rc_machine is not used
um L1_latency is not used

The previous version on git (commit
a58c3953a1c5f5fb00b873a5e22c878f9f4d5a2d) works fine.

Could you help fix this problem?


Thanks,
Rei Odaira


2015-11-18 10:34 GMT-06:00 Carl E. Love <[email protected]>:

>
> >
> > The patch for eliminating the problem power 8 pmu events looks
> reasonable, so I committed it to the oprofile repository.  Thanks for the
> fix.
> >
> > When a proper pointer to the power8 pmu counter documentation becomes
> available there should be a patch to utils/ophelp.c.  It currently has the
> following in there, but search for "Power ISA 2.07" doesn't turn up
> anything on the www.power.org website.
> >
> >       case CPU_PPC64_ARCH_V1:
> >       case CPU_PPC64_POWER8:
> >               event_doc =
> >                       "This processor type is fully supported with
> operf.\n"
> >                       "See Power ISA 2.07 at https://www.power.org/\n\n
> ";
> >               break;
> Will:
>
> OK, still pushing for a good link.  So far, I just got a new link for
> Power 7.  Still pushing for a link for Power 8.  It sounds like the
> available Power 8 documentation is limited but there are plans for
> updating it with more detail.  I will work on a patch when I get a link
> for Power 8.
>
>                Carl Love
>
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> oprofile-list mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/oprofile-list
>

------------------------------------------------------------------------------

_______________________________________________
oprofile-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oprofile-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.