freebsd-dev/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 pmcstat(8): unbreak build with LDFLAGS+=-Wl,--as-needed 2017-11-03 00:12:32 +00:00
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
pmcpl_annotate_cg.c various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
pmcpl_annotate_cg.h various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
pmcpl_annotate.c various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
pmcpl_annotate.h various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
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 various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
pmcpl_calltree.c various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
pmcpl_calltree.h various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
pmcpl_gprof.c various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
pmcpl_gprof.h various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +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 various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
pmcstat_top.h various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
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