freebsd-src/usr.sbin/pmcstat
Matt Macy 5de96e33d6 hwpmc: support sampling both kernel and user stacks when interrupted in kernel
This adds the -U options to pmcstat which will attribute in-kernel samples
back to the user stack that invoked the system call. It is not the default,
because when looking at kernel profiles it is generally more desirable to
merge all instances of a given system call together.

Although heavily revised, this change is directly derived from D7350 by
Jonathan T. Looney.

Obtained from: jtl
Sponsored by: Juniper Networks, Limelight Networks
2018-06-04 01:10:23 +00:00
..
Makefile
Makefile.depend
pmcpl_annotate.c
pmcpl_annotate.h
pmcpl_annotate_cg.c
pmcpl_annotate_cg.h
pmcpl_callgraph.c hwpmc: support sampling both kernel and user stacks when interrupted in kernel 2018-06-04 01:10:23 +00:00
pmcpl_callgraph.h
pmcpl_calltree.c
pmcpl_calltree.h
pmcpl_gprof.c
pmcpl_gprof.h
pmcstat.8 hwpmc: support sampling both kernel and user stacks when interrupted in kernel 2018-06-04 01:10:23 +00:00
pmcstat.c hwpmc: support sampling both kernel and user stacks when interrupted in kernel 2018-06-04 01:10:23 +00:00
pmcstat.h libpmcstat: compile in events based on json description 2018-05-24 04:30:06 +00:00
pmcstat_log.c pmc(3)/hwpmc(4): update supported Intel processors to rely fully on the 2018-05-26 19:29:19 +00:00
pmcstat_log.h
pmcstat_top.h