Re: svn commit: r334701 - in head: lib/libpmc share/examples/hwpmc sys/dev/hwpmc sys/sys usr.sbin/pmc usr.sbin/pmcstat
I came to that same conclusion myself moments ago. Thanks. In message , Matthew Macy writes: > -DNO_CLEAN doesn't work with the file rename. > > On Tue, Jun 5, 2018 at 10:14 PM, Cy Schubert wrot > e: > > amd64 > > > > ~cy > > > > In message > il.com> > > , Matthew Macy writes: > >> Which arch? Universe is passing for me (except for pre-existing > >> breakage of i386-LINT-NOINET). > >> > >> -M > >> > >> On Tue, Jun 5, 2018 at 8:53 PM, Cy Schubert wr > ote > >> : > >> > In message <201806060248.w562m9tb083...@repo.freebsd.org>, Matt Macy > >> > writes: > >> >> Author: mmacy > >> >> Date: Wed Jun 6 02:48:09 2018 > >> >> New Revision: 334701 > >> >> URL: https://svnweb.freebsd.org/changeset/base/334701 > >> >> > >> >> Log: > >> >> hwpmc: add summary command and further metadata extensions > >> >> > >> >> metadata changes: > >> >> - log pmc sample rate with pmcallocate > >> >> - log proc flags with thread / process logging > >> >> to identify user vs kernel threads > >> >> > >> >> fixes: > >> >> - use log cpuid to translate event id to event name > >> >> > >> >> Implement rudimentary summary command to track sample > >> >> counts by thread and process name within a pmc log. > >> >> > >> >> % make -j4 buildkernel >& /dev/null & > >> >> % sudo pmcstat -S unhalted_core_cycles -S llc-misses -O foo sleep 15 > >> >> % pmc summary foo > >> >> cpu_clk_unhalted.thread_p_any: > >> >> idle: 138108207162 > >> >> clang-6.0: 105336158004 > >> >> sh: 72340108510 > >> >> make: 8642012963 > >> >> kernel: 7754011631 > >> >> longest_lat_cache.miss: > >> >> clang-6.0: 87502625 > >> >> sh: 40901227 > >> >> make: 5500165 > >> >> kernel: 3300099 > >> >> awk: 260 > >> >> > >> >> % pmc summary -f ~/foo > >> >> idx: 278 name: cpu_clk_unhalted.thread_p_any rate: 203 > >> >> idle: 69054 > >> >> clang-6.0: 52668 > >> >> sh: 36170 > >> >> make: 4321 > >> >> kernel: 3877 > >> >> hwpmc: proc(7445): 3319 > >> >> awk: 1289 > >> >> xargs: 357 > >> >> rand_harvestq: 181 > >> >> mtree: 102 > >> >> intr: 53 > >> >> zfskern: 31 > >> >> usb: 7 > >> >> pagedaemon: 4 > >> >> ntpd: 3 > >> >> syslogd: 1 > >> >> acpi_thermal: 1 > >> >> logger: 1 > >> >> syncer: 1 > >> >> snmptrapd: 1 > >> >> sleep: 1 > >> >> idx: 17 name: longest_lat_cache.miss rate: 13 > >> >> clang-6.0: 875 > >> >> sh: 409 > >> >> make: 55 > >> >> kernel: 33 > >> >> awk: 20 > >> >> hwpmc: proc(7445): 14 > >> >> xargs: 9 > >> >> idle: 8 > >> >> intr: 3 > >> >> zfskern: 2 > >> > > >> > Hi Matt, > >> > > >> > I'm not sure if this is due to this commit or one of your others but > >> > it's broken the build. > >> > > >> > Sorry I can't do any more analysis but I need to get dinner on the > >> > table. > >> > > >> > > >> > > >> > > >> > -- > >> > Cheers, > >> > Cy Schubert > >> > FreeBSD UNIX: Web: http://www.FreeBSD.org > >> > > >> > The need of the many outweighs the greed of the few. > >> > > >> > > > > > -- > > Cheers, > > Cy Schubert > > FreeBSD UNIX: Web: http://www.FreeBSD.org > > > > The need of the many outweighs the greed of the few. > > > > > -- Cheers, Cy Schubert FreeBSD UNIX: Web: http://www.FreeBSD.org The need of the many outweighs the greed of the few. ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
Re: svn commit: r334701 - in head: lib/libpmc share/examples/hwpmc sys/dev/hwpmc sys/sys usr.sbin/pmc usr.sbin/pmcstat
-DNO_CLEAN doesn't work with the file rename. On Tue, Jun 5, 2018 at 10:14 PM, Cy Schubert wrote: > amd64 > > ~cy > > In message il.com> > , Matthew Macy writes: >> Which arch? Universe is passing for me (except for pre-existing >> breakage of i386-LINT-NOINET). >> >> -M >> >> On Tue, Jun 5, 2018 at 8:53 PM, Cy Schubert wrote >> : >> > In message <201806060248.w562m9tb083...@repo.freebsd.org>, Matt Macy >> > writes: >> >> Author: mmacy >> >> Date: Wed Jun 6 02:48:09 2018 >> >> New Revision: 334701 >> >> URL: https://svnweb.freebsd.org/changeset/base/334701 >> >> >> >> Log: >> >> hwpmc: add summary command and further metadata extensions >> >> >> >> metadata changes: >> >> - log pmc sample rate with pmcallocate >> >> - log proc flags with thread / process logging >> >> to identify user vs kernel threads >> >> >> >> fixes: >> >> - use log cpuid to translate event id to event name >> >> >> >> Implement rudimentary summary command to track sample >> >> counts by thread and process name within a pmc log. >> >> >> >> % make -j4 buildkernel >& /dev/null & >> >> % sudo pmcstat -S unhalted_core_cycles -S llc-misses -O foo sleep 15 >> >> % pmc summary foo >> >> cpu_clk_unhalted.thread_p_any: >> >> idle: 138108207162 >> >> clang-6.0: 105336158004 >> >> sh: 72340108510 >> >> make: 8642012963 >> >> kernel: 7754011631 >> >> longest_lat_cache.miss: >> >> clang-6.0: 87502625 >> >> sh: 40901227 >> >> make: 5500165 >> >> kernel: 3300099 >> >> awk: 260 >> >> >> >> % pmc summary -f ~/foo >> >> idx: 278 name: cpu_clk_unhalted.thread_p_any rate: 203 >> >> idle: 69054 >> >> clang-6.0: 52668 >> >> sh: 36170 >> >> make: 4321 >> >> kernel: 3877 >> >> hwpmc: proc(7445): 3319 >> >> awk: 1289 >> >> xargs: 357 >> >> rand_harvestq: 181 >> >> mtree: 102 >> >> intr: 53 >> >> zfskern: 31 >> >> usb: 7 >> >> pagedaemon: 4 >> >> ntpd: 3 >> >> syslogd: 1 >> >> acpi_thermal: 1 >> >> logger: 1 >> >> syncer: 1 >> >> snmptrapd: 1 >> >> sleep: 1 >> >> idx: 17 name: longest_lat_cache.miss rate: 13 >> >> clang-6.0: 875 >> >> sh: 409 >> >> make: 55 >> >> kernel: 33 >> >> awk: 20 >> >> hwpmc: proc(7445): 14 >> >> xargs: 9 >> >> idle: 8 >> >> intr: 3 >> >> zfskern: 2 >> > >> > Hi Matt, >> > >> > I'm not sure if this is due to this commit or one of your others but >> > it's broken the build. >> > >> > Sorry I can't do any more analysis but I need to get dinner on the >> > table. >> > >> > >> > >> > >> > -- >> > Cheers, >> > Cy Schubert >> > FreeBSD UNIX: Web: http://www.FreeBSD.org >> > >> > The need of the many outweighs the greed of the few. >> > >> > > > -- > Cheers, > Cy Schubert > FreeBSD UNIX: Web: http://www.FreeBSD.org > > The need of the many outweighs the greed of the few. > > ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
Re: svn commit: r334701 - in head: lib/libpmc share/examples/hwpmc sys/dev/hwpmc sys/sys usr.sbin/pmc usr.sbin/pmcstat
amd64 ~cy In message , Matthew Macy writes: > Which arch? Universe is passing for me (except for pre-existing > breakage of i386-LINT-NOINET). > > -M > > On Tue, Jun 5, 2018 at 8:53 PM, Cy Schubert wrote > : > > In message <201806060248.w562m9tb083...@repo.freebsd.org>, Matt Macy > > writes: > >> Author: mmacy > >> Date: Wed Jun 6 02:48:09 2018 > >> New Revision: 334701 > >> URL: https://svnweb.freebsd.org/changeset/base/334701 > >> > >> Log: > >> hwpmc: add summary command and further metadata extensions > >> > >> metadata changes: > >> - log pmc sample rate with pmcallocate > >> - log proc flags with thread / process logging > >> to identify user vs kernel threads > >> > >> fixes: > >> - use log cpuid to translate event id to event name > >> > >> Implement rudimentary summary command to track sample > >> counts by thread and process name within a pmc log. > >> > >> % make -j4 buildkernel >& /dev/null & > >> % sudo pmcstat -S unhalted_core_cycles -S llc-misses -O foo sleep 15 > >> % pmc summary foo > >> cpu_clk_unhalted.thread_p_any: > >> idle: 138108207162 > >> clang-6.0: 105336158004 > >> sh: 72340108510 > >> make: 8642012963 > >> kernel: 7754011631 > >> longest_lat_cache.miss: > >> clang-6.0: 87502625 > >> sh: 40901227 > >> make: 5500165 > >> kernel: 3300099 > >> awk: 260 > >> > >> % pmc summary -f ~/foo > >> idx: 278 name: cpu_clk_unhalted.thread_p_any rate: 203 > >> idle: 69054 > >> clang-6.0: 52668 > >> sh: 36170 > >> make: 4321 > >> kernel: 3877 > >> hwpmc: proc(7445): 3319 > >> awk: 1289 > >> xargs: 357 > >> rand_harvestq: 181 > >> mtree: 102 > >> intr: 53 > >> zfskern: 31 > >> usb: 7 > >> pagedaemon: 4 > >> ntpd: 3 > >> syslogd: 1 > >> acpi_thermal: 1 > >> logger: 1 > >> syncer: 1 > >> snmptrapd: 1 > >> sleep: 1 > >> idx: 17 name: longest_lat_cache.miss rate: 13 > >> clang-6.0: 875 > >> sh: 409 > >> make: 55 > >> kernel: 33 > >> awk: 20 > >> hwpmc: proc(7445): 14 > >> xargs: 9 > >> idle: 8 > >> intr: 3 > >> zfskern: 2 > > > > Hi Matt, > > > > I'm not sure if this is due to this commit or one of your others but > > it's broken the build. > > > > Sorry I can't do any more analysis but I need to get dinner on the > > table. > > > > > > > > > > -- > > Cheers, > > Cy Schubert > > FreeBSD UNIX: Web: http://www.FreeBSD.org > > > > The need of the many outweighs the greed of the few. > > > > -- Cheers, Cy Schubert FreeBSD UNIX: Web: http://www.FreeBSD.org The need of the many outweighs the greed of the few. ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
Re: svn commit: r334701 - in head: lib/libpmc share/examples/hwpmc sys/dev/hwpmc sys/sys usr.sbin/pmc usr.sbin/pmcstat
Which arch? Universe is passing for me (except for pre-existing breakage of i386-LINT-NOINET). -M On Tue, Jun 5, 2018 at 8:53 PM, Cy Schubert wrote: > In message <201806060248.w562m9tb083...@repo.freebsd.org>, Matt Macy > writes: >> Author: mmacy >> Date: Wed Jun 6 02:48:09 2018 >> New Revision: 334701 >> URL: https://svnweb.freebsd.org/changeset/base/334701 >> >> Log: >> hwpmc: add summary command and further metadata extensions >> >> metadata changes: >> - log pmc sample rate with pmcallocate >> - log proc flags with thread / process logging >> to identify user vs kernel threads >> >> fixes: >> - use log cpuid to translate event id to event name >> >> Implement rudimentary summary command to track sample >> counts by thread and process name within a pmc log. >> >> % make -j4 buildkernel >& /dev/null & >> % sudo pmcstat -S unhalted_core_cycles -S llc-misses -O foo sleep 15 >> % pmc summary foo >> cpu_clk_unhalted.thread_p_any: >> idle: 138108207162 >> clang-6.0: 105336158004 >> sh: 72340108510 >> make: 8642012963 >> kernel: 7754011631 >> longest_lat_cache.miss: >> clang-6.0: 87502625 >> sh: 40901227 >> make: 5500165 >> kernel: 3300099 >> awk: 260 >> >> % pmc summary -f ~/foo >> idx: 278 name: cpu_clk_unhalted.thread_p_any rate: 203 >> idle: 69054 >> clang-6.0: 52668 >> sh: 36170 >> make: 4321 >> kernel: 3877 >> hwpmc: proc(7445): 3319 >> awk: 1289 >> xargs: 357 >> rand_harvestq: 181 >> mtree: 102 >> intr: 53 >> zfskern: 31 >> usb: 7 >> pagedaemon: 4 >> ntpd: 3 >> syslogd: 1 >> acpi_thermal: 1 >> logger: 1 >> syncer: 1 >> snmptrapd: 1 >> sleep: 1 >> idx: 17 name: longest_lat_cache.miss rate: 13 >> clang-6.0: 875 >> sh: 409 >> make: 55 >> kernel: 33 >> awk: 20 >> hwpmc: proc(7445): 14 >> xargs: 9 >> idle: 8 >> intr: 3 >> zfskern: 2 > > Hi Matt, > > I'm not sure if this is due to this commit or one of your others but > it's broken the build. > > Sorry I can't do any more analysis but I need to get dinner on the > table. > > > > > -- > Cheers, > Cy Schubert > FreeBSD UNIX: Web: http://www.FreeBSD.org > > The need of the many outweighs the greed of the few. > > ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
Re: svn commit: r334701 - in head: lib/libpmc share/examples/hwpmc sys/dev/hwpmc sys/sys usr.sbin/pmc usr.sbin/pmcstat
In message <201806060353.w563rpg1070...@slippy.cwsent.com>, Cy Schubert writes: > In message <201806060248.w562m9tb083...@repo.freebsd.org>, Matt Macy > writes: > > Author: mmacy > > Date: Wed Jun 6 02:48:09 2018 > > New Revision: 334701 > > URL: https://svnweb.freebsd.org/changeset/base/334701 > > > > Log: > > hwpmc: add summary command and further metadata extensions > > > > metadata changes: > > - log pmc sample rate with pmcallocate > > - log proc flags with thread / process logging > > to identify user vs kernel threads > > > > fixes: > > - use log cpuid to translate event id to event name > > > > Implement rudimentary summary command to track sample > > counts by thread and process name within a pmc log. > > > > % make -j4 buildkernel >& /dev/null & > > % sudo pmcstat -S unhalted_core_cycles -S llc-misses -O foo sleep 15 > > % pmc summary foo > > cpu_clk_unhalted.thread_p_any: > > idle: 138108207162 > > clang-6.0: 105336158004 > > sh: 72340108510 > > make: 8642012963 > > kernel: 7754011631 > > longest_lat_cache.miss: > > clang-6.0: 87502625 > > sh: 40901227 > > make: 5500165 > > kernel: 3300099 > > awk: 260 > > > > % pmc summary -f ~/foo > > idx: 278 name: cpu_clk_unhalted.thread_p_any rate: 203 > > idle: 69054 > > clang-6.0: 52668 > > sh: 36170 > > make: 4321 > > kernel: 3877 > > hwpmc: proc(7445): 3319 > > awk: 1289 > > xargs: 357 > > rand_harvestq: 181 > > mtree: 102 > > intr: 53 > > zfskern: 31 > > usb: 7 > > pagedaemon: 4 > > ntpd: 3 > > syslogd: 1 > > acpi_thermal: 1 > > logger: 1 > > syncer: 1 > > snmptrapd: 1 > > sleep: 1 > > idx: 17 name: longest_lat_cache.miss rate: 13 > > clang-6.0: 875 > > sh: 409 > > make: 55 > > kernel: 33 > > awk: 20 > > hwpmc: proc(7445): 14 > > xargs: 9 > > idle: 8 > > intr: 3 > > zfskern: 2 > > Hi Matt, > > I'm not sure if this is due to this commit or one of your others but > it's broken the build. > > Sorry I can't do any more analysis but I need to get dinner on the > table. Oops, I should have pasted this into my previous email. --- cmd_pmc_filter.o --- /usr/local/bin/ccache cc -target x86_64-unknown-freebsd12.0 --sysroot=/export/obj/opt/src/svn-current/amd64.amd64/tmp -B/export/obj/opt/src/svn-current/amd64.amd64/tmp/usr/bin -O2 -pipe -pipe -g -MD -MF.depend.cmd_pmc_filter.o -MTcmd_pmc_filter.o -std=gnu99 -fstack-protector-strong -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -Wmissing-variable-declarations -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Qunused-arguments -c /opt/src/svn-current/usr.sbin/pmc/cmd_pmc_filter.c -o cmd_pmc_filter.o cc: error: no such file or directory: '/opt/src/svn-current/usr.sbin/pmc /cmd_pmc_filter.c' cc: error: no input files -- Cheers, Cy Schubert FreeBSD UNIX: Web: http://www.FreeBSD.org The need of the many outweighs the greed of the few. ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"
Re: svn commit: r334701 - in head: lib/libpmc share/examples/hwpmc sys/dev/hwpmc sys/sys usr.sbin/pmc usr.sbin/pmcstat
In message <201806060248.w562m9tb083...@repo.freebsd.org>, Matt Macy writes: > Author: mmacy > Date: Wed Jun 6 02:48:09 2018 > New Revision: 334701 > URL: https://svnweb.freebsd.org/changeset/base/334701 > > Log: > hwpmc: add summary command and further metadata extensions > > metadata changes: > - log pmc sample rate with pmcallocate > - log proc flags with thread / process logging > to identify user vs kernel threads > > fixes: > - use log cpuid to translate event id to event name > > Implement rudimentary summary command to track sample > counts by thread and process name within a pmc log. > > % make -j4 buildkernel >& /dev/null & > % sudo pmcstat -S unhalted_core_cycles -S llc-misses -O foo sleep 15 > % pmc summary foo > cpu_clk_unhalted.thread_p_any: > idle: 138108207162 > clang-6.0: 105336158004 > sh: 72340108510 > make: 8642012963 > kernel: 7754011631 > longest_lat_cache.miss: > clang-6.0: 87502625 > sh: 40901227 > make: 5500165 > kernel: 3300099 > awk: 260 > > % pmc summary -f ~/foo > idx: 278 name: cpu_clk_unhalted.thread_p_any rate: 203 > idle: 69054 > clang-6.0: 52668 > sh: 36170 > make: 4321 > kernel: 3877 > hwpmc: proc(7445): 3319 > awk: 1289 > xargs: 357 > rand_harvestq: 181 > mtree: 102 > intr: 53 > zfskern: 31 > usb: 7 > pagedaemon: 4 > ntpd: 3 > syslogd: 1 > acpi_thermal: 1 > logger: 1 > syncer: 1 > snmptrapd: 1 > sleep: 1 > idx: 17 name: longest_lat_cache.miss rate: 13 > clang-6.0: 875 > sh: 409 > make: 55 > kernel: 33 > awk: 20 > hwpmc: proc(7445): 14 > xargs: 9 > idle: 8 > intr: 3 > zfskern: 2 Hi Matt, I'm not sure if this is due to this commit or one of your others but it's broken the build. Sorry I can't do any more analysis but I need to get dinner on the table. -- Cheers, Cy Schubert FreeBSD UNIX: Web: http://www.FreeBSD.org The need of the many outweighs the greed of the few. ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"