RE: Announcement: Release Candidate 1 for OProfile 1.0.0

Carl Love <[email protected]>
Newsgroups gmane.linux.oprofile
Message-ID <[email protected]>
On Mon, 2014-08-18 at 16:23 +0000, Maucci, Cyrille wrote:
> Hey Carl,
> 
>  
> 
> My system is an old HP Proliant DL 380 G5 with those processors.
> 

Cyrille:

I checked and the processor is still listed in libop/op_cpu_type.c as a
supported CPU type.  

What do you get when you type ophelp?  Just need the first 10 or so
lines as this will print out all of the supported events, if it works
correctly.

                Carl Love

>  
> 
> Thanks 
> 
> ++Cyrille
> 
>  
> 
> [root@nv34 ~]# more /proc/cpuinfo
> 
> processor       : 0
> 
> vendor_id       : GenuineIntel
> 
> cpu family      : 6
> 
> model           : 15
> 
> model name      : Intel(R) Xeon(R) CPU           E5345  @ 2.33GHz
> 
> stepping        : 7
> 
> microcode       : 0x6b
> 
> cpu MHz         : 2333.306
> 
> cache size      : 4096 KB
> 
> physical id     : 0
> 
> siblings        : 4
> 
> core id         : 0
> 
> cpu cores       : 4
> 
> apicid          : 0
> 
> initial apicid  : 0
> 
> fpu             : yes
> 
> fpu_exception   : yes
> 
> cpuid level     : 10
> 
> wp              : yes
> 
> flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
> mca cmov
> 
> pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx
> lm constant
> 
> _tsc arch_perfmon pebs bts rep_good nopl aperfmperf pni dtes64 monitor
> ds_cpl vm
> 
> x est tm2 ssse3 cx16 xtpr pdcm dca lahf_lm dtherm tpr_shadow
> 
> bogomips        : 4666.61
> 
> clflush size    : 64
> 
> cache_alignment : 64
> 
> address sizes   : 36 bits physical, 48 bits virtual
> 
> power management:
> 
>  
> 
>  
> 
> -----Original Message-----
> From: Carl Love [mailto:[email protected]] 
> Sent: Monday, August 18, 2014 4:52 PM
> To: Maucci, Cyrille
> Cc: Arnaldo Carvalho de Melo; oprofile-list
> Subject: RE: Announcement: Release Candidate 1 for OProfile 1.0.0
> 
>  
> 
> Cyrille:
> 
>  
> 
> Can you tell us what hardware platform you are running on?  The latest
> OProfile tool is no longer supporting the legacy opcontrol command and
> some hardware platforms that have not had the newer operf and ocount
> support added.  You can get the CPU type you are running on by typing
> "more /proc/cpuinfo".  It will print out the CPU specific information.
> 
> Let us know and double check that the CPU is on the currently
> supported list of processors.  Note, the release notes list
> specifically what platforms and operation modes are no longer
> supported.  
> 
>  
> 
> Assuming your CPU is supported you can type "ophelp" to list the CPU
> specific events supported by your processor.
> 
>  
> 
>                  Carl Love
> 
>  
> 
> On Sat, 2014-08-16 at 16:19 +0000, Maucci, Cyrille wrote:
> 
> > Thanks Arnaldo,
> 
> > 
> 
> > This is pretty clear now.
> 
> > 
> 
> > ++Cyrille
> 
> > 
> 
> > -----Original Message-----
> 
> > From: Arnaldo Carvalho de Melo [mailto:[email protected]]
> 
> > Sent: Saturday, August 16, 2014 4:06 PM
> 
> > To: Maucci, Cyrille
> 
> > Cc: Maynard Johnson; oprofile-list
> 
> > Subject: Re: Announcement: Release Candidate 1 for OProfile 1.0.0
> 
> > 
> 
> > Em Fri, Aug 15, 2014 at 10:19:01PM +0000, Maucci, Cyrille escreveu:
> 
> > > Hello Arnaldo,
> 
> > > 
> 
> > > Thanks for your quick reply.
> 
> > > 
> 
> > > Here is what I get:
> 
> > > 
> 
> > > [root@nv34 ~]# perf list | grep -w cycles
> 
> > >   cpu-cycles OR cycles                               [Hardware
> event]
> 
> > >   bus-cycles                                         [Hardware
> event]
> 
> > >   stalled-cycles-frontend OR idle-cycles-frontend    [Hardware
> event]
> 
> > >   stalled-cycles-backend OR idle-cycles-backend      [Hardware
> event]
> 
> > 
> 
> > perf list shouldn't matter here as a way to query hardware
> capabilities, I used it just to show that "cycles" is a "Hardware
> event", and thus will be available only when the "processor type" is
> supported by the a driver in the kernel.
> 
> > 
> 
> > Which is not the case for this particular machine of yours, so
> _both_ perf and operf are not using the _hardware event_ "cycles".
> 
> > 
> 
> > The perf tool, in such cases, falls back to 'cpu-clock', a software
> event, so not dependent on a driver in the kernel to support some
> particular hardware, to provide an approximation of what you would get
> from the 'cycles' hardware event.
> 
> > 
> 
> > The operf tool, on the other hand, doesn't seem to try this fallback
> and instead states that the processor type is not supported.
> 
> > 
> 
> > So, what I suggest is that you try somehow specifying the software
> event "cpu-clock" to the operf tool, simulating such fallback in a
> explicit fashion, something like:
> 
> > 
> 
> > $ operf -e cpu-clock
> 
> > 
> 
> > But I don't know what is the command line option in operf to change 
> 
> > the default event to be monitored from "cycles" (which I assume is
> the
> 
> > default) to some other event.
> 
> > 
> 
> > - Arnaldo
> 
> > 
> 
> > > [root@nv34 ~]# perf record usleep 1
> 
> > > [ perf record: Woken up 1 times to write data ] [ perf record: 
> 
> > > Captured and wrote 0.010 MB perf.data (~415 samples) ]
> 
> > > 
> 
> > > [root@nv34 ~]# perf evlist
> 
> > > cpu-clock
> 
> > > 
> 
> > > [root@nv34 ~]#
> 
> > > 
> 
> > > ++Cyrille
> 
> > > -----Original Message-----
> 
> > > From: Arnaldo Carvalho de Melo [mailto:[email protected]]
> 
> > > Sent: Friday, August 15, 2014 11:33 PM
> 
> > > To: Maucci, Cyrille
> 
> > > Cc: Maynard Johnson; oprofile-list
> 
> > > Subject: Re: Announcement: Release Candidate 1 for OProfile 1.0.0
> 
> > > 
> 
> > > Em Fri, Aug 15, 2014 at 08:06:53PM +0000, Maucci, Cyrille
> escreveu:
> 
> > > > Hello Maynard,
> 
> > > > 
> 
> > > > So maybe a dumb remark.
> 
> > > > I've got a RHEL6.4 system that I've upgraded the kernel up to
> 3.15.9.
> 
> > > > perf tools work fine there.
> 
> > > > When I launch the below recompiled operf, it tells me :
> 
> > > > 
> 
> > > > [root@nv34 oprofile-1.0.0-rc1]# operf Your kernel's Performance 
> 
> > > > Events Subsystem does not support your processor type.
> 
> > > > 
> 
> > > > How would perf not complain about that but operf would ?
> 
> > > 
> 
> > > Probably perf is fallbacking to cpu-cycles?
> 
> > > 
> 
> > > I.e. on a machine with a processor supported, i.e. a HW PMU:
> 
> > > 
> 
> > > [acme@zoo ~]$ perf record usleep 1
> 
> > > [ perf record: Woken up 1 times to write data ] [ perf record: 
> 
> > > Captured and wrote 0.016 MB perf.data (~684 samples) ] [acme@zoo
> ~]$ 
> 
> > > perf evlist cycles [acme@zoo ~]$
> 
> > > 
> 
> > > We get the 'cycles' event, perfect.
> 
> > > 
> 
> > > But o a KVM guest:
> 
> > > 
> 
> > > root@ubuntu13:~# perf record sleep 1 [ perf record: Woken up 1
> times 
> 
> > > to write data ] [ perf record:
> 
> > > Captured and wrote 0.007 MB perf.data (~288 samples) ] 
> 
> > > root@ubuntu13:~# perf evlist cpu-clock root@ubuntu13:~#
> 
> > > 
> 
> > > 
> 
> > > I.e. perf tries:
> 
> > > 
> 
> > > [acme@zoo ~]$ perf list | grep -w cycles
> 
> > >   cpu-cycles OR cycles                               [Hardware
> event]
> 
> > > <SNIP>
> 
> > > 
> 
> > > If it fails, it fallbacks to:
> 
> > > 
> 
> > > [acme@zoo ~]$ perf list | grep -w cpu-clock
> 
> > >   cpu-clock                                          [Software
> event]
> 
> > > [acme@zoo ~]$
> 
> > > 
> 
> > > Perhaps this is what is happening.
> 
> > > 
> 
> > > - Arnaldo
> 
> > > 
> 
> > >  
> 
> > > > Thanks a lot
> 
> > > > ++Cyrille
> 
> > > > 
> 
> > > > -----Original Message-----
> 
> > > > From: Maynard Johnson [mailto:[email protected]]
> 
> > > > Sent: Friday, August 15, 2014 5:54 PM
> 
> > > > To: oprofile-list
> 
> > > > Subject: Announcement: Release Candidate 1 for OProfile 1.0.0
> 
> > > > 
> 
> > > > We are pleased to announce OProfile 1.0.0 Release Candidate 1.
> You can download this release at:
> 
> > > >      
> 
> > > >
> http://sourceforge.net/projects/oprofile/files/oprofile/oprofile-1
> 
> > > > .0
> 
> > > > .0
> 
> > > > -rc1/
> 
> > > > 
> 
> > > > Please download and test this release candidate, and send your
> feedback by replying to this message.  Please include your hardware
> platform and Linux distribution information in your reply.
> 
> > > > 
> 
> > > > Thanks.
> 
> > > > -Maynard Johnson
> 
> > > > 
> 
> > > >
> -----------------------------------------------------------------
> 
> > > > 
> 
> > > > Release Notes
> 
> > > > ===============
> 
> > > > OProfile 1.0.0 Release Candidate 1 has been released. A major
> change in this release is the removal of the legacy opcontrol-based
> profiler.
> 
> > > > This legacy profiling tool has been deprecated since release
> 0.9.8 when operf was first introduced. The following components and
> processor types that were dependent on opcontrol have also been
> removed:
> 
> > > > 
> 
> > > >    - GUI component (i.e., oprof_start)
> 
> > > >    - IBS events removed from AMD processors
> 
> > > >    - All Alpha processors, except for EV67 (which *is* supported
> by operf/ocount)
> 
> > > >    - Architecture avr32
> 
> > > >    - Architecture ia64
> 
> > > >    - Processor model IBM Cell
> 
> > > >    - Processor model P.A. Semi PA6T
> 
> > > >    - RTC (real time clock mode)
> 
> > > > 
> 
> > > > OProfile users still running on any of these affected systems or
> needing any of the removed components listed above should not upgrade
> to OProfile release 1.0. Alternatively, you can obtain all of the new
> features, enhancements, and bug fixes described below and still have
> access to opcontrol, by doing the following:
> 
> > > > 
> 
> > > >      git clone git://git.code.sf.net/p/oprofile/oprofile
> oprofile
> 
> > > >      cd oprofile
> 
> > > >      git checkout PRE_RELEASE_1_0
> 
> > > > 
> 
> > > > and then build/install as usual.
> 
> > > > 
> 
> > > > More information about OProfile can be seen at
> 
> > > >     http://oprofile.sf.net
> 
> > > > 
> 
> > > > 
> 
> > > > Incompatibilities with previous release
> 
> > > > ---------------------------------------
> 
> > > > 
> 
> > > > - Sample data collected with previous releases of OProfile are
> incompatible
> 
> > > >   with release 1.0.
> 
> > > > - ophelp schema: Major version changed for removal of unit mask
> 'extra'
> 
> > > >   attribute and addition of unit mask 'name'.
> 
> > > > 
> 
> > > > 
> 
> > > > New features
> 
> > > > ------------
> 
> > > > 
> 
> > > > - Enhance ocount to support millisecond time intervals
> 
> > > > - Obtain kernel symbols from /proc/kallsyms if no vmlinux file 
> 
> > > > specified
> 
> > > > 
> 
> > > > - New/updated Processor Support
> 
> > > >     * (New) Freescale e6500 
> 
> > > >     * (New) Freescale e500mc
> 
> > > >     * (New) Intel Silvermont
> 
> > > >     * (New) ARM ARMv7 Krait
> 
> > > >     * (New) ARM ARMv8 (AArch64)
> 
> > > >     * (New) Intel Broadwell
> 
> > > >     * (New) ARM Cortex A57
> 
> > > >     * (New) ARM Cortex A53
> 
> > > >     * Added little endian support for IBM POWER8
> 
> > > >     * Update events for IBM POWER8
> 
> > > >     * Added edge-detect events for IBM POWER7
> 
> > > >     * Update events for Intel Haswell
> 
> > > > 
> 
> > > > 
> 
> > > > Bug fixes
> 
> > > > ---------
> 
> > > > 
> 
> > > > Filed bug reports:
> 
> > > >
> ------------------------------------------------------------------
> 
> > > > --
> 
> > > > --
> 
> > > > ---
> 
> > > > |  BUG ID   |  Summary 
> 
> > > >
> |-----------|-----------------------------------------------------
> 
> > > > |-----------|--
> 
> > > > |-----------|--
> 
> > > > |-----------|--
> 
> > > > |-----------|-
> 
> > > > |   236     | opreport schema: Fix count field maxOccurs
> (changed to
> 
> > > > |           | 'unbounded')
> 
> > > > |   245     | Fix compile error on ppc/uClibc platform:
> 'AT_BASE_PLATFORM'
> 
> > > > |           | undeclared'
> 
> > > > |   248     | Duplicate event specs passed to ocount show up
> twice in
> 
> > > > |           | output
> 
> > > > |   252     | Fix operf/ocount default unit mask selection
> 
> > > > |   253     | ocount: print the unit mask, kernel and user modes
> if
> 
> > > > |           | specified for the event
> 
> > > > |   254     | ophelp schema is not included in installed files
> 
> > > > |   255     | Remove unused 'extra' attribute from ophelp schema
> 
> > > > |   256     | opreport from 'operf --callgraph' profile shows
> false
> 
> > > > |           | recursive calls
> 
> > > > |   257     | Fix handling of default named unit masks longer
> than 11 chars
> 
> > > > |   259     | Print unit mask name where applicable in ophelp
> XML output
> 
> > > > |   260     | Fix profiling of multi-threaded apps when using
> "--pid"
> 
> > > > |           | option
> 
> > > > |   262     | Fix operf/opreport kernel throttling detection
> 
> > > > |   263     | Fix sample attribution problem when using multiple
> events
> 
> > > > |   266     | exclude/include files option doesn't work for
> opannotate -a
> 
> > > >
> ------------------------------------------------------------------
> 
> > > > --
> 
> > > > --
> 
> > > > ---
> 
> > > > 
> 
> > > > Other bug fixes and improvements without a filed report (e.g.,
> posted to the list):
> 
> > > > ---------------
> 
> > > >    - Update Alpha EV67 CPU support and remove all other Alpha
> CPU support
> 
> > > >    - operf main process improperly killing conversion process
> 
> > > >    - Fix up S390 support to work with operf/ocount
> 
> > > >    - Link ocount with librt for clock_gettime only when needed
> 
> > > >    - Fix 'Invalid argument' running 'opcontrol --start
> --callgraph=<n>' in
> 
> > > >      Timer mode
> 
> > > >    - Make sure hypervisor is excluded from ocount and operf
> 
> > > >    - operf log may over-report "sample address not in expected
> range for
> 
> > > >      domain"
> 
> > > >    - Allow root to remove old jitdump files
> from /tmp/.oprofile/jitdump
> 
> > > >    - Remove opreport warnings for /no-vmlinux, [vdso],
> [hypervisor_bucket]
> 
> > > >      not found
> 
> > > >    - Fix event codes for marked architected events (IBM ppc64)
> 
> > > >    - Make operf/ocount detect invalid timer mode from opcontrol
> 
> > > >    - Reduce overhead of operf waiting for profiled app to end
> 
> > > >    - Fix "Unable to open cpu_type file for reading" for IBM
> POWER7+
> 
> > > >    - Allow all native events for IBM POWER8 in POWER7 compat
> mode
> 
> > > >    - Fix spurious "backtraces skipped due to no file mapping"
> log entries
> 
> > > >    - Fix the units for the reported CPU frequency
> 
> > > > 
> 
> > > > 
> 
> > > > Known problems and limitations
> 
> > > > -------------------------
> 
> > > > - When using operf to profile multiple events, the absolute
> number of
> 
> > > >   events recorded may be substantially fewer than expected. This
> can be
> 
> > > >   due to knwon bug in the Linux kernel's Performance Events
> Subsystem that
> 
> > > >   was fixed sometime between Linux kernel version 3.1 and 3.5.
> 
> > > > 
> 
> > > > 
> 
> > > >
> ------------------------------------------------------------------
> 
> > > > --
> 
> > > > --
> 
> > > > -------- _______________________________________________
> 
> > > > 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
> 
> > > 
> 
> > > ----- End forwarded message -----
> 
> > 
> 
> >
> ----------------------------------------------------------------------
> 
> > -------- _______________________________________________
> 
> > 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.