The NetBSD Project

CVS log for src/sys/dev/tprof/tprof.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / dev / tprof

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.14.6.1 / (download) - annotate - [select for diffs], Tue Aug 1 17:34:33 2023 UTC (8 months, 2 weeks ago) by martin
Branch: netbsd-9
Changes since 1.14: +19 -23 lines
Diff to previous 1.14 (colored) next main 1.15 (colored) to selected 1.6.4.1 (colored)

Pull up the following revisions, requested by msaitoh in ticket #1697:

	usr.sbin/tprof/tprof.8				1.16,1.22,1.25,1.29 via patch
	usr.sbin/tprof/tprof_analyze.c			1.4
	usr.sbin/tprof/arch/tprof_x86.c 		1.13-1.19
	sys/dev/tprof/tprof.c				1.23 via patch
	sys/dev/tprof/tprof_x86_amd.c			1.7-1.8 via patch
	sys/dev/tprof/tprof_x86_intel.c 		1.8 via patch

- Add AMD family 19h (zen3 and zen4) support.
- Add Intel Comet Lake support.
- Add support for Intel Skylake-X and Cascade Lake.
- Print the path that we failed to open on error.
- Use lowercase consistently for hexadecimal numbers.
- KNF

Revision 1.21.2.2 / (download) - annotate - [select for diffs], Wed Jun 21 22:34:51 2023 UTC (9 months, 3 weeks ago) by martin
Branch: netbsd-10
CVS Tags: netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1
Changes since 1.21.2.1: +27 -32 lines
Diff to previous 1.21.2.1 (colored) to branchpoint 1.21 (colored) next main 1.22 (colored) to selected 1.6.4.1 (colored)

Pull up following revision(s) (requested by msaitoh in ticket #210):

	usr.sbin/tprof/tprof.8: revision 1.30
	sys/dev/tprof/tprof_x86_amd.c: revision 1.8
	sys/dev/tprof/tprof_armv8.c: revision 1.20
	sys/dev/tprof/tprof_types.h: revision 1.7
	sys/dev/tprof/tprof_x86_intel.c: revision 1.6
	sys/dev/tprof/tprof_x86_intel.c: revision 1.7
	sys/dev/tprof/tprof_x86_intel.c: revision 1.8
	sys/dev/tprof/tprof.c: revision 1.23
	usr.sbin/tprof/tprof.8: revision 1.25
	usr.sbin/tprof/tprof.8: revision 1.26
	usr.sbin/tprof/arch/tprof_x86.c: revision 1.16
	usr.sbin/tprof/tprof.8: revision 1.27
	usr.sbin/tprof/arch/tprof_x86.c: revision 1.17
	usr.sbin/tprof/tprof.8: revision 1.28
	usr.sbin/tprof/tprof.h: revision 1.5
	usr.sbin/tprof/tprof.8: revision 1.29
	sys/dev/tprof/tprof_armv7.c: revision 1.13
	usr.sbin/tprof/tprof_top.c: revision 1.9
	usr.sbin/tprof/tprof.c: revision 1.21

Add Cometlake support.

Obtain the number of general counters from CPUID 0xa.

Test cpuid_level in tprof_intel_ncounters().
This function is called before tprof_intel_ident().

KNF. No functional change.

Add two note to the tprof(8)'s manual page.
 - "list" command prints the maximum number of counters that can be used
   simultaneously.
 - multiple -e arguments can be specified.

Use the default counter if -e argument is not specified.
 monitor command:
     The default counter is selected if -e argument is not specified.
 list command:
     Print the name of the default counter for monitor and top command.

tprof.8: new sentence, new line

tprof(8): fix markup nits

tprof.8: fix typo, s/speficied/specified/

Revision 1.23 / (download) - annotate - [select for diffs], Tue Apr 11 10:07:12 2023 UTC (12 months, 1 week ago) by msaitoh
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, HEAD
Changes since 1.22: +27 -32 lines
Diff to previous 1.22 (colored) to selected 1.6.4.1 (colored)

KNF. No functional change.

Revision 1.21.2.1 / (download) - annotate - [select for diffs], Fri Dec 23 08:09:48 2022 UTC (15 months, 3 weeks ago) by martin
Branch: netbsd-10
Changes since 1.21: +8 -8 lines
Diff to previous 1.21 (colored) to selected 1.6.4.1 (colored)

Pull up following revision(s) (requested by ryo in ticket #20):

	sys/arch/arm/arm/cpufunc.c: revision 1.185
	sys/dev/tprof/tprof.c: revision 1.22
	sys/arch/arm/arm32/arm32_boot.c: revision 1.45
	sys/dev/tprof/tprof_armv8.c: revision 1.19
	sys/dev/tprof/tprof_armv7.c: revision 1.12
	sys/arch/aarch64/aarch64/cpu.c: revision 1.71
	sys/arch/aarch64/aarch64/cpu.c: revision 1.72

tprof_lock is not a spin mutex. use mutex_{enter,exit}(). oops

Explicitly disable overflow interrupts before enabling the cycle counter.

PMCR_EL0.LC should be set. ARM deprecates use of PMCR_EL0.LC=0

Even if an overflow interrupt is occured for a counter outside tprof management,
the bit of onverflow status register must be cleared to prevent an interrupt storm.

Revision 1.22 / (download) - annotate - [select for diffs], Fri Dec 16 17:38:56 2022 UTC (16 months ago) by ryo
Branch: MAIN
Changes since 1.21: +8 -8 lines
Diff to previous 1.21 (colored) to selected 1.6.4.1 (colored)

tprof_lock is not a spin mutex. use mutex_{enter,exit}(). oops

Revision 1.21 / (download) - annotate - [select for diffs], Fri Dec 16 07:59:42 2022 UTC (16 months ago) by ryo
Branch: MAIN
CVS Tags: netbsd-10-base
Branch point for: netbsd-10
Changes since 1.20: +94 -11 lines
Diff to previous 1.20 (colored) to selected 1.6.4.1 (colored)

- Add support select(2)/poll(2) on /dev/tprof.
- Changed sampling buffer switching frequency (which is the frequency of tprof_worker()
  calls and also the maximum block time of read(2) of /dev/tprof) from 1sec to 125ms.
  This improve tprof top responsiveness.
- The maximum number of sampling buffers is now adjusted according to the number of CPUs.
  Previously it was fixed at 100 and was insufficient if ncpu was greater than this.

The maximum number of samples per second per CPU is calculated by
"TPROF_MAX_SAMPLES_PER_BUF * (HZ of tprof_worker)".
Therefore, currently, 10000 * (1000/125) = 80000 maximum samplings per CPU.
The actual value will vary slightly from this due to tprof_worker and read(2) timing.
This value may need to be adjusted more in the future.

Revision 1.20 / (download) - annotate - [select for diffs], Sun Dec 11 01:36:49 2022 UTC (16 months, 1 week ago) by chs
Branch: MAIN
Changes since 1.19: +4 -2 lines
Diff to previous 1.19 (colored) to selected 1.6.4.1 (colored)

make sure error is initialized before we return it.

Revision 1.19 / (download) - annotate - [select for diffs], Thu Dec 1 00:32:52 2022 UTC (16 months, 2 weeks ago) by ryo
Branch: MAIN
Changes since 1.18: +367 -67 lines
Diff to previous 1.18 (colored) to selected 1.6.4.1 (colored)

Improve tprof(4)

- Multiple events can now be handled simultaneously.
- Counters should be configured with TPROF_IOC_CONFIGURE_EVENT in advance,
  instead of being configured at TPROF_IOC_START.
- The configured counters can be started and stopped repeatedly by
  PROF_IOC_START/TPROF_IOC_STOP.
- The value of the performance counter can be obtained at any timing as a 64bit
  value with TPROF_IOC_GETCOUNTS.
- Backend common parts are handled in tprof.c as much as possible, and functions
  on the tprof_backend side have been reimplemented to be more primitive.
- The reset value of counter overflows for profiling can now be adjusted.
  It is calculated by default from the CPU clock (speed of cycle counter) and
  TPROF_HZ, but for some events the value may be too large to be sufficient for
  profiling. The event counter can be specified as a ratio to the default or as
  an absolute value when configuring the event counter.
- Due to overall changes, API and ABI have been changed. TPROF_VERSION and
  TPROF_BACKEND_VERSION were updated.

Revision 1.18 / (download) - annotate - [select for diffs], Thu Dec 1 00:27:59 2022 UTC (16 months, 2 weeks ago) by ryo
Branch: MAIN
Changes since 1.17: +14 -6 lines
Diff to previous 1.17 (colored) to selected 1.6.4.1 (colored)

don't call kpreempt_{disable,enable}() from an interrupt handler.

Fixed a problem in which the system would freeze if a high load (e.g., build.sh -j20)
was applied while running `tprof monitor -e LsNotHaltedCyc ...' on x86.

This almost eliminates the problem, but still is not enough. tprof_x86 uses NMI
interrupts, which are interrupted even in splhigh(), leaving the possibility of
being interrupted in the splhigh section of percpu_cpu_swap().

Revision 1.17 / (download) - annotate - [select for diffs], Mon Mar 28 12:33:21 2022 UTC (2 years ago) by riastradh
Branch: MAIN
CVS Tags: bouyer-sunxi-drm-base, bouyer-sunxi-drm
Changes since 1.16: +3 -9 lines
Diff to previous 1.16 (colored) to selected 1.6.4.1 (colored)

driver(9): devsw_detach never fails.  Make it return void.

Prune a whole lotta dead branches as a result of this.  (Some logic
calling this is also wrong for other reasons; devsw_detach is final
-- you should never have any reason to decide to roll it back.  To be
cleaned up in subsequent commits...)

XXX kernel ABI change to devsw_detach signature requires bump

Revision 1.16 / (download) - annotate - [select for diffs], Mon Nov 1 17:03:53 2021 UTC (2 years, 5 months ago) by skrll
Branch: MAIN
Changes since 1.15: +4 -4 lines
Diff to previous 1.15 (colored) to selected 1.6.4.1 (colored)

Trailing whitespace

Revision 1.14.14.1 / (download) - annotate - [select for diffs], Mon Dec 14 14:38:09 2020 UTC (3 years, 4 months ago) by thorpej
Branch: thorpej-futex
Changes since 1.14: +47 -15 lines
Diff to previous 1.14 (colored) next main 1.15 (colored) to selected 1.6.4.1 (colored)

Sync w/ HEAD.

Revision 1.15 / (download) - annotate - [select for diffs], Fri Nov 27 20:10:25 2020 UTC (3 years, 4 months ago) by riastradh
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.14: +47 -15 lines
Diff to previous 1.14 (colored) to selected 1.6.4.1 (colored)

tprof: Use percpu rather than a MAXCPUS-element array.

Revision 1.13.18.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:07:33 2019 UTC (4 years, 10 months ago) by christos
Branch: phil-wifi
Changes since 1.13: +24 -8 lines
Diff to previous 1.13 (colored) next main 1.14 (colored) to selected 1.6.4.1 (colored)

Sync with HEAD

Revision 1.13.16.1 / (download) - annotate - [select for diffs], Sat Jul 28 04:37:57 2018 UTC (5 years, 8 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.13: +24 -8 lines
Diff to previous 1.13 (colored) next main 1.14 (colored) to selected 1.6.4.1 (colored)

Sync with HEAD

Revision 1.14 / (download) - annotate - [select for diffs], Fri Jul 13 07:56:29 2018 UTC (5 years, 9 months ago) by maxv
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, jdolecek-ncqfixes-base, jdolecek-ncqfixes, isaki-audio2-base, isaki-audio2, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Branch point for: thorpej-futex, netbsd-9
Changes since 1.13: +24 -8 lines
Diff to previous 1.13 (colored) to selected 1.6.4.1 (colored)

Revamp tprof.

Rewrite the Intel backend to use the generic PMC interface, which is
available on all Intel CPUs. Synchronize the AMD backend with the new
interface.

The kernel identifies the PMC interface, and gives its id to userland.
Userland then queries the events itself (via cpuid etc). These events
depend on the PMC interface.

The tprof utility is rewritten to allow the user to choose which event
to count (which was not possible until now, the event was hardcoded in
the backend). The command line format is based on usr.bin/pmc, eg:

	tprof -e llc-misses:k -o output sleep 20

The man page is updated too, but the arguments will likely change soon
anyway so it doesn't matter a lot.

The tprof utility has three tables:

	Intel Architectural Version 1
	Intel Skylake/Kabylake
	AMD Family 10h

A CPU can support a combination of tables. For example Kabylake has
Intel-Architectural-Version-1 and its own Intel-Kabylake table.

For now the Intel Skylake/Kabylake table contains only one event, just
to demonstrate that the combination of tables works. Tested on an
Intel Core i5 Kabylake.

The code for AMD Family 10h is taken from the code I had written for
usr.bin/pmc. I haven't tested it yet, but it's the same as pmc(1), so
I guess it works as-is.

The whole thing is written in such a way that (I think) it is not
complicated to add more CPU models, and more architectures (other than
x86).

Revision 1.10.14.2 / (download) - annotate - [select for diffs], Sun Dec 3 11:37:33 2017 UTC (6 years, 4 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.10.14.1: +2 -2 lines
Diff to previous 1.10.14.1 (colored) to branchpoint 1.10 (colored) next main 1.11 (colored) to selected 1.6.4.1 (colored)

update from HEAD

Revision 1.13.8.2 / (download) - annotate - [select for diffs], Sat Apr 29 10:19:32 2017 UTC (6 years, 11 months ago) by pgoyette
Branch: prg-localcount2
Changes since 1.13.8.1: +2 -3 lines
Diff to previous 1.13.8.1 (colored) to branchpoint 1.13 (colored) next main 1.14 (colored) to selected 1.6.4.1 (colored)

Revise previous.  Rather than explicitly including <sys/localcount.h>
in all the places where {b,c}devsw is initialized, just include it
from <sys/conf.h>.  This avoids an include-sequence dependancy.

Revision 1.13.8.1 / (download) - annotate - [select for diffs], Sat Apr 29 09:17:59 2017 UTC (6 years, 11 months ago) by pgoyette
Branch: prg-localcount2
Changes since 1.13: +4 -2 lines
Diff to previous 1.13 (colored) to selected 1.6.4.1 (colored)

Add DEVSW_MODULE_INIT to existing device-driver modules, so that they
willl have a localcount defined and thus be permitted to load.  Without
a localcount, loading the module will return EINVAL.

XXX the dtrace and drm stuff might need to be fed back upstream?

Revision 1.12.4.1 / (download) - annotate - [select for diffs], Tue Sep 22 12:06:01 2015 UTC (8 years, 6 months ago) by skrll
Branch: nick-nhusb
Changes since 1.12: +4 -4 lines
Diff to previous 1.12 (colored) next main 1.13 (colored) to selected 1.6.4.1 (colored)

Sync with HEAD

Revision 1.13 / (download) - annotate - [select for diffs], Thu Aug 20 14:40:18 2015 UTC (8 years, 8 months ago) by christos
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, phil-wifi-base, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-base, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: prg-localcount2, phil-wifi, pgoyette-compat
Changes since 1.12: +4 -4 lines
Diff to previous 1.12 (colored) to selected 1.6.4.1 (colored)

include "ioconf.h" to get the 'void <driver>attach(int count);' prototype.

Revision 1.10.14.1 / (download) - annotate - [select for diffs], Wed Aug 20 00:03:51 2014 UTC (9 years, 8 months ago) by tls
Branch: tls-maxphys
Changes since 1.10: +4 -3 lines
Diff to previous 1.10 (colored) to selected 1.6.4.1 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.11.2.1 / (download) - annotate - [select for diffs], Sun Aug 10 06:54:58 2014 UTC (9 years, 8 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.11: +3 -2 lines
Diff to previous 1.11 (colored) next main 1.12 (colored) to selected 1.6.4.1 (colored)

Rebase.

Revision 1.12 / (download) - annotate - [select for diffs], Fri Jul 25 08:10:39 2014 UTC (9 years, 8 months ago) by dholland
Branch: MAIN
CVS Tags: tls-maxphys-base, tls-earlyentropy-base, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7
Branch point for: nick-nhusb
Changes since 1.11: +3 -2 lines
Diff to previous 1.11 (colored) to selected 1.6.4.1 (colored)

Add d_discard to all struct cdevsw instances I could find.

All have been set to "nodiscard"; some should get a real implementation.

Revision 1.10.4.1 / (download) - annotate - [select for diffs], Thu May 22 11:40:36 2014 UTC (9 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored) next main 1.11 (colored) to selected 1.6.4.1 (colored)

sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.10.18.1 / (download) - annotate - [select for diffs], Sun May 18 17:45:47 2014 UTC (9 years, 11 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored) next main 1.11 (colored) to selected 1.6.4.1 (colored)

sync with head

Revision 1.11 / (download) - annotate - [select for diffs], Sun Mar 16 05:20:29 2014 UTC (10 years, 1 month ago) by dholland
Branch: MAIN
CVS Tags: yamt-pagecache-base9, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3
Branch point for: tls-earlyentropy
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored) to selected 1.6.4.1 (colored)

Change (mostly mechanically) every cdevsw/bdevsw I can find to use
designated initializers.

I have not built every extant kernel so I have probably broken at
least one build; however I've also found and fixed some wrong
cdevsw/bdevsw entries so even if so I think we come out ahead.

Revision 1.7.2.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:08:40 2011 UTC (12 years, 10 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.7: +32 -20 lines
Diff to previous 1.7 (colored) next main 1.8 (colored) to selected 1.6.4.1 (colored)

Sync with HEAD.

Revision 1.6.4.2 / (download) - annotate - [select for diffs], Thu Apr 21 01:42:02 2011 UTC (13 years ago) by rmind
Branch: rmind-uvmplock
Changes since 1.6.4.1: +16 -2 lines
Diff to previous 1.6.4.1 (colored) to branchpoint 1.6 (colored) next main 1.7 (colored)

sync with head

Revision 1.10 / (download) - annotate - [select for diffs], Thu Apr 14 16:23:59 2011 UTC (13 years ago) by yamt
Branch: MAIN
CVS Tags: yamt-pagecache-tag8, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, rmind-uvmplock-nbase, rmind-uvmplock-base, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, khorben-n900, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, jmcneill-usbmp-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3, cherry-xenmp-base, cherry-xenmp, agc-symver-base, agc-symver
Branch point for: yamt-pagecache, tls-maxphys, rmind-smpnet
Changes since 1.9: +18 -4 lines
Diff to previous 1.9 (colored) to selected 1.6.4.1 (colored)

for each samples, record and report cpuid and lwpid.

Revision 1.6.4.1 / (download) - annotate - [selected], Sat Mar 5 20:54:09 2011 UTC (13 years, 1 month ago) by rmind
Branch: rmind-uvmplock
Changes since 1.6: +19 -21 lines
Diff to previous 1.6 (colored)

sync with head

Revision 1.7.4.2 / (download) - annotate - [select for diffs], Sat Mar 5 15:10:30 2011 UTC (13 years, 1 month ago) by bouyer
Branch: bouyer-quota2
Changes since 1.7.4.1: +4 -2 lines
Diff to previous 1.7.4.1 (colored) to branchpoint 1.7 (colored) next main 1.8 (colored) to selected 1.6.4.1 (colored)

Sync with HEAD

Revision 1.9 / (download) - annotate - [select for diffs], Fri Feb 25 22:35:38 2011 UTC (13 years, 1 month ago) by yamt
Branch: MAIN
CVS Tags: bouyer-quota2-nbase
Changes since 1.8: +4 -2 lines
Diff to previous 1.8 (colored) to selected 1.6.4.1 (colored)

tprof_start: don't forget to restore refcount when failed to start backend.

Revision 1.7.4.1 / (download) - annotate - [select for diffs], Tue Feb 8 16:19:55 2011 UTC (13 years, 2 months ago) by bouyer
Branch: bouyer-quota2
Changes since 1.7: +16 -20 lines
Diff to previous 1.7 (colored) to selected 1.6.4.1 (colored)

Sync with HEAD

Revision 1.8 / (download) - annotate - [select for diffs], Sat Feb 5 14:04:40 2011 UTC (13 years, 2 months ago) by yamt
Branch: MAIN
CVS Tags: bouyer-quota2-base
Changes since 1.7: +16 -20 lines
Diff to previous 1.7 (colored) to selected 1.6.4.1 (colored)

tprof: record pid and userland events.

Revision 1.1.18.3 / (download) - annotate - [select for diffs], Sat Oct 9 03:32:26 2010 UTC (13 years, 6 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.1.18.2: +3 -3 lines
Diff to previous 1.1.18.2 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored) to selected 1.6.4.1 (colored)

sync with head

Revision 1.6.2.1 / (download) - annotate - [select for diffs], Tue Aug 17 06:46:42 2010 UTC (13 years, 8 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.6: +3 -3 lines
Diff to previous 1.6 (colored) next main 1.7 (colored) to selected 1.6.4.1 (colored)

Sync with HEAD.

Revision 1.7 / (download) - annotate - [select for diffs], Wed Aug 11 11:36:02 2010 UTC (13 years, 8 months ago) by pgoyette
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, matt-mips64-premerge-20101231, jruoho-x86intr-base
Branch point for: jruoho-x86intr, bouyer-quota2
Changes since 1.6: +3 -3 lines
Diff to previous 1.6 (colored) to selected 1.6.4.1 (colored)

Keep condvar wmesg within 8-char limit

Revision 1.3.2.1 / (download) - annotate - [select for diffs], Wed May 13 17:21:34 2009 UTC (14 years, 11 months ago) by jym
Branch: jym-xensuspend
Changes since 1.3: +210 -21 lines
Diff to previous 1.3 (colored) next main 1.4 (colored) to selected 1.6.4.1 (colored)

Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.

Revision 1.1.18.2 / (download) - annotate - [select for diffs], Mon May 4 08:13:20 2009 UTC (14 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.1.18.1: +211 -16 lines
Diff to previous 1.1.18.1 (colored) to branchpoint 1.1 (colored) to selected 1.6.4.1 (colored)

sync with head.

Revision 1.2.8.2 / (download) - annotate - [select for diffs], Tue Apr 28 07:36:38 2009 UTC (14 years, 11 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.2.8.1: +210 -21 lines
Diff to previous 1.2.8.1 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored) to selected 1.6.4.1 (colored)

Sync with HEAD.

Revision 1.6 / (download) - annotate - [select for diffs], Fri Mar 13 11:06:26 2009 UTC (15 years, 1 month ago) by yamt
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, yamt-nfs-mp-base10, uebayasi-xip-base1, uebayasi-xip-base, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base, matt-premerge-20091211, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base
Branch point for: uebayasi-xip, rmind-uvmplock
Changes since 1.5: +3 -2 lines
Diff to previous 1.5 (colored) to selected 1.6.4.1 (colored)

tprof_stop1: add an assertion.

Revision 1.5 / (download) - annotate - [select for diffs], Wed Mar 11 13:48:47 2009 UTC (15 years, 1 month ago) by yamt
Branch: MAIN
Changes since 1.4: +4 -6 lines
Diff to previous 1.4 (colored) to selected 1.6.4.1 (colored)

fix breakage where db_regs_t != trapframe.
the problem pointed out by Martin Husemann on tech-kern@.

Revision 1.4 / (download) - annotate - [select for diffs], Tue Mar 10 14:45:02 2009 UTC (15 years, 1 month ago) by yamt
Branch: MAIN
Changes since 1.3: +209 -19 lines
Diff to previous 1.3 (colored) to selected 1.6.4.1 (colored)

- adapt to MODULAR.
- some preparations to have more backends.
- add some comments.

Revision 1.2.8.1 / (download) - annotate - [select for diffs], Tue Mar 3 18:31:52 2009 UTC (15 years, 1 month ago) by skrll
Branch: nick-hppapmap
Changes since 1.2: +8 -2 lines
Diff to previous 1.2 (colored) to selected 1.6.4.1 (colored)

Sync with HEAD.

Revision 1.3 / (download) - annotate - [select for diffs], Tue Jan 20 15:13:54 2009 UTC (15 years, 3 months ago) by yamt
Branch: MAIN
CVS Tags: nick-hppapmap-base2
Branch point for: jym-xensuspend
Changes since 1.2: +8 -2 lines
Diff to previous 1.2 (colored) to selected 1.6.4.1 (colored)

comment

Revision 1.1.14.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:23:53 2008 UTC (15 years, 10 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.1: +1 -1 lines
Diff to previous 1.1 (colored) next main 1.2 (colored) to selected 1.6.4.1 (colored)

Sync with HEAD.

Revision 1.1.16.1 / (download) - annotate - [select for diffs], Sun May 18 12:34:50 2008 UTC (15 years, 11 months ago) by yamt
Branch: yamt-pf42
Changes since 1.1: +3 -3 lines
Diff to previous 1.1 (colored) next main 1.2 (colored) to selected 1.6.4.1 (colored)

sync with head.

Revision 1.1.18.1 / (download) - annotate - [select for diffs], Fri May 16 02:25:09 2008 UTC (15 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.1: +3 -3 lines
Diff to previous 1.1 (colored) to selected 1.6.4.1 (colored)

sync with head.

Revision 1.2 / (download) - annotate - [select for diffs], Wed May 7 08:48:11 2008 UTC (15 years, 11 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base2, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, mjf-devfs2-base, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, hpcarm-cleanup-nbase, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, ad-audiomp2-base, ad-audiomp2
Branch point for: nick-hppapmap
Changes since 1.1: +3 -3 lines
Diff to previous 1.1 (colored) to selected 1.6.4.1 (colored)

tprof_start: fix workqueue's IPL.

Revision 1.1.8.2 / (download) - annotate - [select for diffs], Mon Feb 18 21:06:25 2008 UTC (16 years, 2 months ago) by mjf
Branch: mjf-devfs
Changes since 1.1.8.1: +529 -0 lines
Diff to previous 1.1.8.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored) to selected 1.6.4.1 (colored)

Sync with HEAD.

Revision 1.1.6.2 / (download) - annotate - [select for diffs], Mon Jan 21 09:44:40 2008 UTC (16 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.1.6.1: +529 -0 lines
Diff to previous 1.1.6.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored) to selected 1.6.4.1 (colored)

sync with head

Revision 1.1.4.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:54:36 2008 UTC (16 years, 3 months ago) by matt
Branch: matt-armv6
Changes since 1.1.4.1: +529 -0 lines
Diff to previous 1.1.4.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored) to selected 1.6.4.1 (colored)

sync with HEAD

Revision 1.1.2.2 / (download) - annotate - [select for diffs], Wed Jan 2 21:55:17 2008 UTC (16 years, 3 months ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.1.2.1: +529 -0 lines
Diff to previous 1.1.2.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored) to selected 1.6.4.1 (colored)

Sync with HEAD

Revision 1.1.8.1, Tue Jan 1 21:28:37 2008 UTC (16 years, 3 months ago) by mjf
Branch: mjf-devfs
Changes since 1.1: +0 -529 lines
FILE REMOVED

file tprof.c was added on branch mjf-devfs on 2008-02-18 21:06:25 +0000

Revision 1.1.6.1, Tue Jan 1 21:28:37 2008 UTC (16 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.1: +0 -529 lines
FILE REMOVED

file tprof.c was added on branch yamt-lazymbuf on 2008-01-21 09:44:40 +0000

Revision 1.1.4.1, Tue Jan 1 21:28:37 2008 UTC (16 years, 3 months ago) by matt
Branch: matt-armv6
Changes since 1.1: +0 -529 lines
FILE REMOVED

file tprof.c was added on branch matt-armv6 on 2008-01-09 01:54:36 +0000

Revision 1.1.2.1, Tue Jan 1 21:28:37 2008 UTC (16 years, 3 months ago) by bouyer
Branch: bouyer-xeni386
Changes since 1.1: +0 -529 lines
FILE REMOVED

file tprof.c was added on branch bouyer-xeni386 on 2008-01-02 21:55:17 +0000

Revision 1.1 / (download) - annotate - [select for diffs], Tue Jan 1 21:28:37 2008 UTC (16 years, 3 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-base, bouyer-xeni386-nbase, bouyer-xeni386-base, ad-socklock-base1
Branch point for: yamt-pf42, yamt-nfs-mp, yamt-lazymbuf, mjf-devfs2, mjf-devfs, matt-armv6, bouyer-xeni386
Diff to selected 1.6.4.1 (colored)

a simple performance monitor based profiler, inspired from linux oprofile.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>