On 01/26/2015 11:38 PM, Stephane Eranian wrote: > Will, > > Problem fixed in the git tree. Was a broken implementation of the > cgroupfs_find_mountpoint(). So I reused the one from syst_count.c. > Let me know if it works again on Fedora now. > > Thanks for reporting the problem.
Hi Stephane, Thanks for the fix. The fix helped quite a bit: $ sudo ./syst_smpl -e instructions:period=1000000 -G machine.slice/machine-qemu\\x2drawhide\\x2dx86_64.scope instructions:period=1000000 period=1000000 freq=0 monitoring on CPU7, session ending in 10s syst_count sets up counters on each of the processors. Shouldn't syst_smpl be setting up sampling on each of the processors rather than just one? -Will > > > On Mon, Jan 26, 2015 at 9:01 AM, William Cohen <wco...@redhat.com> wrote: >> On 01/26/2015 11:11 AM, Stephane Eranian wrote: >>> On Tue, Jan 20, 2015 at 7:55 PM, William Cohen <wco...@redhat.com> wrote: >>>> I have been experimenting with the libpfm4 perf_example syst_smpl.c >>>> and syst_count.c on a fedora 21. The syst_count executable seems to >>>> work fine with the "-G" (cgroup) option, but the similar syst_smpl >>>> does not seems to work with "-G" option. Is there a know issue with >>>> syst_smpl? Below is the detailed output and comments. >>>> >>>> -Will ------------------------------------------------------------------------------ Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ perfmon2-devel mailing list perfmon2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/perfmon2-devel