OpenBSD CVS

CVS log for src/sys/kern/subr_prof.c


[BACK] Up to [local] / src / sys / kern

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.41 / (download) - annotate - [select for diffs], Wed Jan 24 19:23:38 2024 UTC (4 months, 2 weeks ago) by cheloha
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, HEAD
Changes since 1.40: +7 -10 lines
Diff to previous 1.40 (colored)

clockintr: switch from callee- to caller-allocated clockintr structs

Currently, clockintr_establish() calls malloc(9) to allocate a
clockintr struct on behalf of the caller.  mpi@ says this behavior is
incompatible with dt(4).  In particular, calling malloc(9) during the
initialization of a PCB outside of dt_pcb_alloc() is (a) awkward and
(b) may conflict with future changes/optimizations to PCB allocation.

To side-step the problem, this patch changes the clockintr subsystem
to use caller-allocated clockintr structs instead of callee-allocated
structs.

clockintr_establish() is named after softintr_establish(), which uses
malloc(9) internally to create softintr objects.  The clockintr subsystem
is no longer using malloc(9), so the "establish" naming is no longer apt.
To avoid confusion, this patch also renames "clockintr_establish" to
"clockintr_bind".

Requested by mpi@.  Tweaked by mpi@.

Thread: https://marc.info/?l=openbsd-tech&m=170597126103504&w=2

ok claudio@ mlarkin@ mpi@

Revision 1.40 / (download) - annotate - [select for diffs], Tue Oct 17 00:04:02 2023 UTC (7 months, 3 weeks ago) by cheloha
Branch: MAIN
Changes since 1.39: +6 -6 lines
Diff to previous 1.39 (colored)

clockintr: move callback-specific API behaviors to "clockrequest" namespace

The API's behavior when invoked from a callback function is impossible
to document.  Move the special behavior into a distinct namespace,
"clockrequest".

- Add a 'struct clockrequest'.  Basically a stripped-down 'struct clockintr'
  for exclusive use during clockintr_dispatch().
- In clockintr_queue, replace the "cq_shadow" clockintr with a "cq_request"
  clockrequest.  They serve the same purpose.
- CLST_SHADOW_PENDING -> CR_RESCHEDULE; different namespace, same meaning.
- CLST_IGNORE_SHADOW -> CLST_IGNORE_REQUEST; same meaning.
- Move shadow branch in clockintr_advance() to clockrequest_advance().
- clockintr_request_random() becomes clockrequest_advance_random().
- Delete dead shadow branches in clockintr_cancel(), clockintr_schedule().
- Callback functions now get a clockrequest pointer instead of a special
  clockintr pointer: update all prototypes, callers.

No functional change intended.

Revision 1.39 / (download) - annotate - [select for diffs], Wed Oct 11 15:42:44 2023 UTC (8 months ago) by cheloha
Branch: MAIN
Changes since 1.38: +2 -2 lines
Diff to previous 1.38 (colored)

kernel: expand fixed clock interrupt periods to 64-bit values

Technically, all the current fixed clock interrupt periods fit within
an unsigned 32-bit value.  But 32-bit multiplication is an accident
waiting to happen.  So, expand the fixed periods for hardclock,
statclock, profclock, and roundrobin to 64-bit values.

One exception: statclock_mask remains 32-bit because random(9) yields
32-bit values.  Update the initclocks() comment to make it clear that
this is not an accident.

Revision 1.38 / (download) - annotate - [select for diffs], Sun Sep 10 03:08:05 2023 UTC (9 months ago) by cheloha
Branch: MAIN
CVS Tags: OPENBSD_7_4_BASE, OPENBSD_7_4
Changes since 1.37: +5 -5 lines
Diff to previous 1.37 (colored)

clockintr: support an arbitrary callback function argument

Callers can now provide an argument pointer to clockintr_establish().
The pointer is kept in a new struct clockintr member, cl_arg.  The
pointer is passed as the third parameter to clockintr.cl_func when it
is executed during clockintr_dispatch().  Like the callback function,
the callback argument is immutable after the clockintr is established.

At present, nothing uses this.  All current clockintr_establish()
callers pass a NULL arg pointer.  However, I am confident that dt(4)'s
profile provider will need this in the near future.

Requested by dlg@ back in March.

Revision 1.37 / (download) - annotate - [select for diffs], Wed Sep 6 02:09:58 2023 UTC (9 months ago) by cheloha
Branch: MAIN
Changes since 1.36: +2 -3 lines
Diff to previous 1.36 (colored)

clockintr: clockintr_establish: change first argument to a cpu_info pointer

All CPUs control a single clockintr_queue.  clockintr_establish()
callers don't need to know about the underlying clockintr_queue.
Accepting a cpu_info pointer as argument simplifies the API.

From mpi@.

ok mpi@

Revision 1.36 / (download) - annotate - [select for diffs], Tue Jul 25 18:16:19 2023 UTC (10 months, 2 weeks ago) by cheloha
Branch: MAIN
Changes since 1.35: +67 -3 lines
Diff to previous 1.35 (colored)

statclock: move profil(2), GPROF code to profclock(), gmonclock()

This patch isolates profil(2) and GPROF from statclock().  Currently,
statclock() implements both profil(2) and GPROF through a complex
mechanism involving both platform code (setstatclockrate) and the
scheduler (pscnt, psdiv, and psratio).  We have a machine-independent
interface to the clock interrupt hardware now, so we no longer need to
do it this way.

- Move profil(2)-specific code from statclock() to a new clock
  interrupt callback, profclock(), in subr_prof.c.  Each
  schedstate_percpu has its own profclock handle.  The profclock is
  enabled/disabled for a given CPU when it is needed by the running
  thread during mi_switch() and sched_exit().

- Move GPROF-specific code from statclock() to a new clock interrupt
  callback, gmonclock(), in subr_prof.c.  Where available, each cpu_info
  has its own gmonclock handle .  The gmonclock is enabled/disabled for
  a given CPU via sysctl(2) in prof_state_toggle().

- Both profclock() and gmonclock() have a fixed period, profclock_period,
  that is initialized during initclocks().

- Export clockintr_advance(), clockintr_cancel(), clockintr_establish(),
  and clockintr_stagger() via <sys/clockintr.h>.  They have external
  callers now.

- Delete pscnt, psdiv, psratio.  From schedstate_percpu, also delete
  spc_pscnt and spc_psdiv.  The statclock frequency is not dynamic
  anymore so these variables are now useless.

- Delete code/state related to the dynamic statclock frequency from
  kern_clockintr.c.  The statclock frequency can still be pseudo-random,
  so move the contents of clockintr_statvar_init() into clockintr_init().

With input from miod@, deraadt@, and claudio@.  Early revisions
cleaned up by claudio.  Early revisions tested by claudio@.  Tested by
cheloha@ on amd64, arm64, macppc, octeon, and sparc64 (sun4v).
Compile- and boot- tested on i386 by mlarkin@.  riscv64 compilation
bugs found by mlarkin@.  Tested on riscv64 by jca@.  Tested on
powerpc64 by gkoehler@.

Revision 1.35 / (download) - annotate - [select for diffs], Fri Jun 2 17:44:29 2023 UTC (12 months, 1 week ago) by cheloha
Branch: MAIN
Changes since 1.34: +7 -2 lines
Diff to previous 1.34 (colored)

pledge(2): stdio: permit restricted profil(2) for moncontrol(3)

Currently, pledged '-pg' binaries get killed in _mcleanup() when they
try to disable profil(2) via moncontrol(3).

Disabling profil(2) is harmless.  Add profil(2) to the "stdio"
pledge(2) promise and permit profil(2) calls when the scale argument
is zero.  Enabling profil(2) remains forbidden in pledged processes.

This gets us one step closer to making '-pg' binaries compatible with
pledge(2).  The next step is to decide how to exfiltrate the profiling
data from the process during _mcleanup().

Prompted by semarie@.  Cleaned up by deraadt@.  With input from
deraadt@, espie@, and semarie@.

"Looks good" deraadt@
pledge(2) pieces ok semarie@

Revision 1.34 / (download) - annotate - [select for diffs], Tue May 30 08:30:01 2023 UTC (12 months, 1 week ago) by jsg
Branch: MAIN
Changes since 1.33: +2 -2 lines
Diff to previous 1.33 (colored)

spelling
ok jmc@ guenther@ tb@

Revision 1.33 / (download) - annotate - [select for diffs], Tue Apr 25 01:32:36 2023 UTC (13 months, 2 weeks ago) by cheloha
Branch: MAIN
Changes since 1.32: +10 -4 lines
Diff to previous 1.32 (colored)

prof_state_toggle: keep a count of CPUs with profiling enabled

On MULTIPROCESSOR systems, the following sequence of kgmon(8)
invocations leaves the statclock() frequency at stathz when there is
still a CPU on the system where the gmon state is GMON_PROF_ON:

	# kgmon -c 0 -b
	# kgmon -c 1 -b
	# kgmon -c 0 -h

The problem is that we aren't counting CPUs with profiling enabled.
Add "gmon_cpu_count" to keep a count.  Call startprofclock() for the
first CPU to enable profiling and stopprofclock() for the last CPU to
disable profiling.

Revision 1.32 / (download) - annotate - [select for diffs], Tue Apr 25 00:58:47 2023 UTC (13 months, 2 weeks ago) by cheloha
Branch: MAIN
Changes since 1.31: +3 -3 lines
Diff to previous 1.31 (colored)

addupc_intr: support adding multiple profiling ticks at once

Add a third parameter to addupc_intr(), "u_long nticks".  This will
allow us to credit more than one profiling tick to the thread at once.
Should be useful in the unusual case where the clock interrupt is
masked for an extended period.

Revision 1.31 / (download) - annotate - [select for diffs], Fri Sep 3 16:45:45 2021 UTC (2 years, 9 months ago) by jasper
Branch: MAIN
CVS Tags: OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0
Changes since 1.30: +1 -5 lines
Diff to previous 1.30 (colored)

add kprobes provider for dt

this allows us to dynamically trace function boundaries with btrace by patching
prologues and epilogues with a breakpoint upon which the handler records the data,
sends it back to userland for btrace to consume.
currently it's hidden behind DDBPROF, and there is still a lot to cleanup and
improve, but basic scripts that observe return codes from a probed function
work.

from Tom Rollet, with various changes by me
feedback and ok mpi@

Revision 1.30 / (download) - annotate - [select for diffs], Sun Sep 4 09:22:29 2016 UTC (7 years, 9 months ago) by mpi
Branch: MAIN
CVS Tags: OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6, OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2, OPENBSD_6_1_BASE, OPENBSD_6_1
Changes since 1.29: +51 -10 lines
Diff to previous 1.29 (colored)

Introduce Dynamic Profiling, a ddb(4) based & gprof compatible kernel
profiling framework.

Code patching is used to enable probes when entering functions.  The
probes will call a mcount()-like function to match the behavior of a
GPROF kernel.

Currently only available on amd64 and guarded under DDBPROF.  Support
for other archs will follow soon.

A new sysctl knob, ddb.console, need to be set to 1 in securelevel 0
to be able to use this feature.

Inputs and ok guenther@

Revision 1.29 / (download) - annotate - [select for diffs], Sat Dec 5 10:11:53 2015 UTC (8 years, 6 months ago) by tedu
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.28: +1 -2 lines
Diff to previous 1.28 (colored)

remove stale lint annotations

Revision 1.28 / (download) - annotate - [select for diffs], Sat Mar 14 03:38:50 2015 UTC (9 years, 3 months ago) by jsg
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8
Changes since 1.27: +1 -2 lines
Diff to previous 1.27 (colored)

Remove some includes include-what-you-use claims don't
have any direct symbols used.  Tested for indirect use by compiling
amd64/i386/sparc64 kernels.

ok tedu@ deraadt@

Revision 1.27 / (download) - annotate - [select for diffs], Sat Aug 30 08:48:23 2014 UTC (9 years, 9 months ago) by mpi
Branch: MAIN
CVS Tags: OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.26: +3 -1 lines
Diff to previous 1.26 (colored)

Fix profiling (GPROF) build.

Revision 1.26 / (download) - annotate - [select for diffs], Tue Jul 8 17:19:25 2014 UTC (9 years, 11 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE, OPENBSD_5_6
Changes since 1.25: +1 -2 lines
Diff to previous 1.25 (colored)

decouple struct uvmexp into a new file, so that uvm_extern.h and sysctl.h
don't need to be married.
ok guenther miod beck jsing kettenis

Revision 1.25 / (download) - annotate - [select for diffs], Thu Mar 28 16:55:25 2013 UTC (11 years, 2 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_5_BASE, OPENBSD_5_5, OPENBSD_5_4_BASE, OPENBSD_5_4
Changes since 1.24: +1 -2 lines
Diff to previous 1.24 (colored)

do not include machine/cpu.h from a .c file; it is the responsibility of
.h files to pull it in, if needed
ok tedu

Revision 1.24 / (download) - annotate - [select for diffs], Tue Mar 12 09:37:16 2013 UTC (11 years, 3 months ago) by mpi
Branch: MAIN
Changes since 1.23: +74 -33 lines
Diff to previous 1.23 (colored)

Fix kernel profiling on MP systems by using per-CPU buffers and teach
kgmon(8) to deal with them, this time without public header changes.

Previously various CPUs were iterating over the same global buffer at
the same time to modify it and never ended.

This diff includes some ideas submited by Thor Simon to NetBSD via miod@.

ok deraadt@, mikeb@, haesbaert@

Revision 1.23 / (download) - annotate - [select for diffs], Tue Feb 12 08:06:22 2013 UTC (11 years, 4 months ago) by mpi
Branch: MAIN
CVS Tags: OPENBSD_5_3_BASE, OPENBSD_5_3
Changes since 1.22: +32 -76 lines
Diff to previous 1.22 (colored)

Back out per-CPU kernel profiling, it shouldn't modify a public header
at this moment.

Revision 1.22 / (download) - annotate - [select for diffs], Mon Feb 11 17:05:25 2013 UTC (11 years, 4 months ago) by mpi
Branch: MAIN
Changes since 1.21: +76 -32 lines
Diff to previous 1.21 (colored)

Fix kernel profiling on MP systems by using per-CPU buffer. Previously
various CPUs were iterating over the same global buffer at the same
time to modify it and never ended.

This diff includes some ideas submited by Thor Simon to NetBSD via miod@.

ok mikeb@, haesbaert@

Revision 1.21 / (download) - annotate - [select for diffs], Thu Aug 2 03:18:48 2012 UTC (11 years, 10 months ago) by guenther
Branch: MAIN
Changes since 1.20: +12 -10 lines
Diff to previous 1.20 (colored)

Apply profiling to all threads instead of just the thread that called
profil() by moving P_PROFIL from proc->p_flag to process->ps_flags with
matching adjustment in fork1() and exit1()

ok matthew@

Revision 1.20 / (download) - annotate - [select for diffs], Fri Mar 23 15:51:26 2012 UTC (12 years, 2 months ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_5_2_BASE, OPENBSD_5_2
Changes since 1.19: +6 -6 lines
Diff to previous 1.19 (colored)

Make rusage totals, itimers, and profile settings per-process instead
of per-rthread.  Handling of per-thread tick and runtime counters
inspired by how FreeBSD does it.

ok kettenis@

Revision 1.19 / (download) - annotate - [select for diffs], Fri Jul 9 20:30:48 2010 UTC (13 years, 11 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0, OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8
Changes since 1.18: +2 -1 lines
Diff to previous 1.18 (colored)

need sysctl.h to compile with GPROF; Luis Henriques

Revision 1.18 / (download) - annotate - [select for diffs], Sat Jun 26 23:24:45 2010 UTC (13 years, 11 months ago) by guenther
Branch: MAIN
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored)

Don't #include <sys/user.h> into files that don't need the stuff
it defines.  In some cases, this means pulling in uvm.h or pcb.h
instead, but most of the inclusions were just noise.  Tested on
alpha, amd64, armish, hppa, i386, macpcc, sgi, sparc64, and vax,
mostly by krw and naddy.
ok krw@

Revision 1.17 / (download) - annotate - [select for diffs], Thu Mar 15 10:22:30 2007 UTC (17 years, 3 months ago) by art
Branch: MAIN
CVS Tags: OPENBSD_4_7_BASE, OPENBSD_4_7, OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5, OPENBSD_4_4_BASE, OPENBSD_4_4, OPENBSD_4_3_BASE, OPENBSD_4_3, OPENBSD_4_2_BASE, OPENBSD_4_2
Changes since 1.16: +2 -1 lines
Diff to previous 1.16 (colored)

Since p_flag is often manipulated in interrupts and without biglock
it's a good idea to use atomic.h operations on it. This mechanic
change updates all bit operations on p_flag to atomic_{set,clear}bits_int.

Only exception is that P_OWEUPC is set by MI code before calling
need_proftick and it's automatically cleared by ADDUPC. There's
no reason for MD handling of that flag since everyone handles it the
same way.

kettenis@ ok

Revision 1.16 / (download) - annotate - [select for diffs], Sun Dec 24 20:28:43 2006 UTC (17 years, 5 months ago) by miod
Branch: MAIN
CVS Tags: OPENBSD_4_1_BASE, OPENBSD_4_1
Changes since 1.15: +2 -1 lines
Diff to previous 1.15 (colored)

Keep a counter for addupc_intr() invocations, and pass its value, instead of 1,
to addupc_task() in ADDUPROF(). From NetBSD via art@.

Revision 1.15 / (download) - annotate - [select for diffs], Fri Dec 9 09:09:52 2005 UTC (18 years, 6 months ago) by jsg
Branch: MAIN
CVS Tags: OPENBSD_4_0_BASE, OPENBSD_4_0, OPENBSD_3_9_BASE, OPENBSD_3_9
Changes since 1.14: +7 -15 lines
Diff to previous 1.14 (colored)

ansi and deregister. No binary change.

Revision 1.6.16.6 / (download) - annotate - [select for diffs], Thu Feb 19 10:56:38 2004 UTC (20 years, 3 months ago) by niklas
Branch: SMP
Changes since 1.6.16.5: +4 -4 lines
Diff to previous 1.6.16.5 (colored) to branchpoint 1.6 (colored) next main 1.7 (colored)

Merge of current from two weeks agointo the SMP branch

Revision 1.14 / (download) - annotate - [select for diffs], Mon Sep 1 18:06:03 2003 UTC (20 years, 9 months ago) by henning
Branch: MAIN
CVS Tags: SMP_SYNC_B, SMP_SYNC_A, OPENBSD_3_8_BASE, OPENBSD_3_8, OPENBSD_3_7_BASE, OPENBSD_3_7, OPENBSD_3_6_BASE, OPENBSD_3_6, OPENBSD_3_5_BASE, OPENBSD_3_5, OPENBSD_3_4_BASE, OPENBSD_3_4
Changes since 1.13: +4 -4 lines
Diff to previous 1.13 (colored)

match syscallargs comments with reality
from Patrick Latifi <patrick.l@hermes.usherb.ca>
ok jason@ tedu@

Revision 1.6.16.5 / (download) - annotate - [select for diffs], Sat Jun 7 11:03:40 2003 UTC (21 years ago) by ho
Branch: SMP
Changes since 1.6.16.4: +2 -6 lines
Diff to previous 1.6.16.4 (colored) to branchpoint 1.6 (colored)

Sync SMP branch to -current

Revision 1.13 / (download) - annotate - [select for diffs], Mon Jun 2 23:28:06 2003 UTC (21 years ago) by millert
Branch: MAIN
Changes since 1.12: +2 -6 lines
Diff to previous 1.12 (colored)

Remove the advertising clause in the UCB license which Berkeley
rescinded 22 July 1999.  Proofed by myself and Theo.

Revision 1.9.2.3 / (download) - annotate - [select for diffs], Mon May 19 22:31:57 2003 UTC (21 years ago) by tedu
Branch: UBC
Changes since 1.9.2.2: +4 -4 lines
Diff to previous 1.9.2.2 (colored) to branchpoint 1.9 (colored) next main 1.10 (colored)

sync

Revision 1.6.16.4 / (download) - annotate - [select for diffs], Tue May 13 19:21:28 2003 UTC (21 years, 1 month ago) by ho
Branch: SMP
Changes since 1.6.16.3: +4 -4 lines
Diff to previous 1.6.16.3 (colored) to branchpoint 1.6 (colored)

Sync the SMP branch to -current. This includes moving to ELF.

Revision 1.12 / (download) - annotate - [select for diffs], Mon Apr 14 17:52:51 2003 UTC (21 years, 2 months ago) by tedu
Branch: MAIN
CVS Tags: UBC_SYNC_A
Changes since 1.11: +4 -4 lines
Diff to previous 1.11 (colored)

rename ticks to nticks to avoid global.  ok deraadt@ krw@

Revision 1.6.16.3 / (download) - annotate - [select for diffs], Fri Mar 28 00:41:27 2003 UTC (21 years, 2 months ago) by niklas
Branch: SMP
Changes since 1.6.16.2: +13 -34 lines
Diff to previous 1.6.16.2 (colored) to branchpoint 1.6 (colored)

Sync the SMP branch with 3.3

Revision 1.9.2.2 / (download) - annotate - [select for diffs], Tue Oct 29 00:36:44 2002 UTC (21 years, 7 months ago) by art
Branch: UBC
Changes since 1.9.2.1: +2 -2 lines
Diff to previous 1.9.2.1 (colored) to branchpoint 1.9 (colored)

sync to -current

Revision 1.9.2.1 / (download) - annotate - [select for diffs], Tue Jun 11 03:29:40 2002 UTC (22 years ago) by art
Branch: UBC
Changes since 1.9: +14 -35 lines
Diff to previous 1.9 (colored)

Sync UBC branch to -current

Revision 1.11 / (download) - annotate - [select for diffs], Mon Jun 10 11:11:22 2002 UTC (22 years ago) by nordin
Branch: MAIN
CVS Tags: UBC_SYNC_B, OPENBSD_3_3_BASE, OPENBSD_3_3, OPENBSD_3_2_BASE, OPENBSD_3_2
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)

Grammar.

Revision 1.10 / (download) - annotate - [select for diffs], Fri Jun 7 21:20:02 2002 UTC (22 years ago) by art
Branch: MAIN
Changes since 1.9: +14 -35 lines
Diff to previous 1.9 (colored)

Change addupc_intr to not use fuswintr and suswintr to update the profiling
info. Since we only use it to profile processes in user mode and there
is no way to get back user mode without going past the AST that will
write out the profiling info in a context where copyout works.

Sitting in my tree for ages.
Reviewed and with some suggestions from nordin@

Revision 1.6.16.2 / (download) - annotate - [select for diffs], Tue Nov 13 23:04:23 2001 UTC (22 years, 7 months ago) by niklas
Branch: SMP
Changes since 1.6.16.1: +1 -2 lines
Diff to previous 1.6.16.1 (colored) to branchpoint 1.6 (colored)

merge in -current

Revision 1.9 / (download) - annotate - [select for diffs], Tue Nov 6 19:53:20 2001 UTC (22 years, 7 months ago) by miod
Branch: MAIN
CVS Tags: UBC_BASE, OPENBSD_3_1_BASE, OPENBSD_3_1
Branch point for: UBC
Changes since 1.8: +1 -2 lines
Diff to previous 1.8 (colored)

Replace inclusion of <vm/foo.h> with the correct <uvm/bar.h> when necessary.
(Look ma, I might have broken the tree)

Revision 1.6.16.1 / (download) - annotate - [select for diffs], Wed Oct 31 03:26:29 2001 UTC (22 years, 7 months ago) by nate
Branch: SMP
Changes since 1.6: +7 -4 lines
Diff to previous 1.6 (colored)

Sync the SMP branch to something just after 3.0

Revision 1.8 / (download) - annotate - [select for diffs], Wed Sep 19 20:50:59 2001 UTC (22 years, 8 months ago) by mickey
Branch: MAIN
CVS Tags: OPENBSD_3_0_BASE, OPENBSD_3_0
Changes since 1.7: +1 -2 lines
Diff to previous 1.7 (colored)

merge vm/vm_kern.h into uvm/uvm_extern.h; art@ ok

Revision 1.7 / (download) - annotate - [select for diffs], Mon Sep 17 14:26:36 2001 UTC (22 years, 8 months ago) by art
Branch: MAIN
Changes since 1.6: +8 -4 lines
Diff to previous 1.6 (colored)

Allocate the profiling buffer from kernel_map, not with malloc.

Revision 1.6 / (download) - annotate - [select for diffs], Thu May 2 13:12:22 1996 UTC (28 years, 1 month ago) by deraadt
Branch: MAIN
CVS Tags: kame_19991208, SMP_BASE, OPENBSD_2_9_BASE, OPENBSD_2_9, OPENBSD_2_8_BASE, OPENBSD_2_8, OPENBSD_2_7_BASE, OPENBSD_2_7, OPENBSD_2_6_BASE, OPENBSD_2_6, OPENBSD_2_5_BASE, OPENBSD_2_5, OPENBSD_2_4_BASE, OPENBSD_2_4, OPENBSD_2_3_BASE, OPENBSD_2_3, OPENBSD_2_2_BASE, OPENBSD_2_2, OPENBSD_2_1_BASE, OPENBSD_2_1, OPENBSD_2_0_BASE, OPENBSD_2_0
Branch point for: SMP
Changes since 1.5: +1 -2 lines
Diff to previous 1.5 (colored)

sync syscalls, no sys/cpu.h

Revision 1.5 / (download) - annotate - [select for diffs], Sun Apr 28 00:26:46 1996 UTC (28 years, 1 month ago) by tholo
Branch: MAIN
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

First argument to profil(2) should be `char *', not `caddr_t'.

Revision 1.4 / (download) - annotate - [select for diffs], Sun Apr 21 22:27:21 1996 UTC (28 years, 1 month ago) by deraadt
Branch: MAIN
Changes since 1.3: +5 -4 lines
Diff to previous 1.3 (colored)

partial sync with netbsd 960418, more to come

Revision 1.3 / (download) - annotate - [select for diffs], Sun Mar 3 17:20:01 1996 UTC (28 years, 3 months ago) by niklas
Branch: MAIN
Changes since 1.2: +8 -4 lines
Diff to previous 1.2 (colored)

From NetBSD: 960217 merge

Revision 1.2 / (download) - annotate - [select for diffs], Thu Dec 14 05:43:37 1995 UTC (28 years, 6 months ago) by deraadt
Branch: MAIN
Changes since 1.1: +3 -3 lines
Diff to previous 1.1 (colored)

profil() args have changed type..

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Wed Oct 18 08:52:45 1995 UTC (28 years, 8 months ago) by deraadt
CVS Tags: netbsd_1_1
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

initial import of NetBSD tree

Revision 1.1 / (download) - annotate - [select for diffs], Wed Oct 18 08:52:45 1995 UTC (28 years, 8 months ago) by deraadt
Branch: MAIN

Initial revision

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.