On Wed, Apr 28, 2021 at 01:11:07AM +0200, Alexander Bluhm wrote:
> On Mon, Apr 26, 2021 at 05:13:55PM +0200, Sebastien Marie wrote:
> > > I can't vouch that it builds for all architectures... Did anyone do
> > > that?  Number 1 rule: don't break Theo's build.
> >
> > One test would be to build on i386 (with full release process): we are
> > near the limit currently, so it could overflow the available disk
> > space very easily.
> 
> I did a release build on i386.
> 
> > Regarding usefulness on archs, dt(4) has proper frames-skip support
> > for amd64, prowerpc64 and sparc64 only (others archs would default to
> > "don't skip frames in stack traces").
> 
> On i386 dt(4) does not strip the stack trace.  But it builds and
> the device works.  The output is useful, the upper layers of the
> graph are redundant.
> 
> http://bluhm.genua.de/files/kstack-i386.svg
> 
> Better commit the architectures where it works instead of waiting
> until someone fixes alpha, loongson, ...

hep. it make sense to do it this way.

> ok?

ok semarie@

> bluhm
> 
> Index: conf/GENERIC
> ===================================================================
> RCS file: /data/mirror/openbsd/cvs/src/sys/conf/GENERIC,v
> retrieving revision 1.276
> diff -u -p -r1.276 GENERIC
> --- conf/GENERIC      22 Apr 2021 10:23:07 -0000      1.276
> +++ conf/GENERIC      26 Apr 2021 13:37:19 -0000
> @@ -82,7 +82,6 @@ pseudo-device       msts    1       # MSTS line discipl
>  pseudo-device        endrun  1       # EndRun line discipline
>  pseudo-device        vnd     4       # vnode disk devices
>  pseudo-device        ksyms   1       # kernel symbols device
> -#pseudo-device       dt              # Dynamic Tracer
> 
>  # clonable devices
>  pseudo-device        bpfilter        # packet filter
> Index: arch/i386/conf/GENERIC
> ===================================================================
> RCS file: /data/mirror/openbsd/cvs/src/sys/arch/i386/conf/GENERIC,v
> retrieving revision 1.855
> diff -u -p -r1.855 GENERIC
> --- arch/i386/conf/GENERIC    4 Feb 2021 16:25:39 -0000       1.855
> +++ arch/i386/conf/GENERIC    26 Apr 2021 13:35:33 -0000
> @@ -763,6 +763,7 @@ owctr*    at onewire?             # Counter device
>  pseudo-device        pctr            1
>  pseudo-device        nvram           1
>  pseudo-device        hotplug         1       # devices hot plugging
> +pseudo-device        dt
> 
>  # mouse & keyboard multiplexor pseudo-devices
>  pseudo-device        wsmux           2
> Index: arch/amd64/conf/GENERIC
> ===================================================================
> RCS file: /data/mirror/openbsd/cvs/src/sys/arch/amd64/conf/GENERIC,v
> retrieving revision 1.497
> diff -u -p -r1.497 GENERIC
> --- arch/amd64/conf/GENERIC   4 Feb 2021 16:25:38 -0000       1.497
> +++ arch/amd64/conf/GENERIC   26 Apr 2021 13:36:10 -0000
> @@ -685,6 +685,7 @@ owctr*    at onewire?             # Counter device
>  pseudo-device        pctr            1
>  pseudo-device        nvram           1
>  pseudo-device        hotplug         1       # devices hot plugging
> +pseudo-device        dt
> 
>  # mouse & keyboard multiplexor pseudo-devices
>  pseudo-device        wsmux           2
> Index: arch/arm64/conf/GENERIC
> ===================================================================
> RCS file: /data/mirror/openbsd/cvs/src/sys/arch/arm64/conf/GENERIC,v
> retrieving revision 1.194
> diff -u -p -r1.194 GENERIC
> --- arch/arm64/conf/GENERIC   7 Apr 2021 17:12:22 -0000       1.194
> +++ arch/arm64/conf/GENERIC   26 Apr 2021 13:36:22 -0000
> @@ -490,6 +490,7 @@ owctr*            at onewire?             # Counter device
>  # Pseudo-Devices
>  pseudo-device        openprom
>  pseudo-device        hotplug         1       # devices hot plugging
> +pseudo-device        dt
> 
>  # mouse & keyboard multiplexor pseudo-devices
>  pseudo-device        wsmux           2
> Index: arch/powerpc64/conf/GENERIC
> ===================================================================
> RCS file: /data/mirror/openbsd/cvs/src/sys/arch/powerpc64/conf/GENERIC,v
> retrieving revision 1.25
> diff -u -p -r1.25 GENERIC
> --- arch/powerpc64/conf/GENERIC       4 Feb 2021 16:25:39 -0000       1.25
> +++ arch/powerpc64/conf/GENERIC       26 Apr 2021 13:37:00 -0000
> @@ -186,4 +186,5 @@ brgphy*           at mii?                 # Broadcom 
> Gigabit PH
> 
>  # Pseudo-Devices
>  pseudo-device        openprom
> +pseudo-device        dt
>  pseudo-device        wsmux 2

-- 
Sebastien Marie

Reply via email to