git: kernel: Remove kernel profiling bits.

Sascha Wildner swildner at crater.dragonflybsd.org
Sat Jan 5 10:12:09 PST 2019


commit 831b63123c31c5f6087f591c7dd5cb2e7b427953
Author: Sascha Wildner <saw at online.de>
Date:   Sat Jan 5 18:58:10 2019 +0100

    kernel: Remove kernel profiling bits.
    
    It was broken on i386, is even more broken on x86_64 and isn't
    worth fixing.
    
    Discussed-with: dillon

Summary of changes:
 Makefile_upgrade.inc                  |   2 +
 lib/libc/gen/sysctl.3                 |  43 +---
 share/man/man7/clocks.7               |   5 +-
 share/man/man7/vkernel.7              |  13 +-
 sys/conf/files                        |   1 -
 sys/conf/kern.post.mk                 |   2 -
 sys/conf/kern.pre.mk                  |  17 +-
 sys/cpu/x86_64/include/asm.h          |  27 --
 sys/cpu/x86_64/include/asmacros.h     |  62 -----
 sys/cpu/x86_64/include/db_machdep.h   |   3 +-
 sys/cpu/x86_64/include/profile.h      |  74 +-----
 sys/kern/kern_clock.c                 |  21 --
 sys/kern/subr_prof.c                  | 292 ----------------------
 sys/libkern/mcount.c                  | 305 -----------------------
 sys/platform/pc64/conf/files          |   2 +-
 sys/platform/pc64/isa/prof_machdep.c  | 258 -------------------
 sys/platform/pc64/x86_64/machdep.c    |   4 -
 sys/platform/pc64/x86_64/mp_machdep.c |   3 -
 sys/platform/pc64/x86_64/mptable.c    |   3 -
 sys/platform/vkernel64/conf/Makefile  |   2 +-
 sys/platform/vkernel64/conf/files     |   2 +-
 sys/sys/gmon.h                        |  24 +-
 sys/sys/kernel.h                      |   1 -
 sys/sys/sysctl.h                      |   2 +-
 usr.sbin/Makefile                     |   1 -
 usr.sbin/config/config.8              |  17 +-
 usr.sbin/config/config.h              |   6 +-
 usr.sbin/config/main.c                |   6 +-
 usr.sbin/config/mkmakefile.c          |  23 +-
 usr.sbin/kgmon/Makefile               |  18 --
 usr.sbin/kgmon/kgmon.8                | 130 ----------
 usr.sbin/kgmon/kgmon.c                | 455 ----------------------------------
 32 files changed, 25 insertions(+), 1799 deletions(-)
 delete mode 100644 sys/libkern/mcount.c
 delete mode 100644 sys/platform/pc64/isa/prof_machdep.c
 delete mode 100644 usr.sbin/kgmon/Makefile
 delete mode 100644 usr.sbin/kgmon/kgmon.8
 delete mode 100644 usr.sbin/kgmon/kgmon.c

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/831b63123c31c5f6087f591c7dd5cb2e7b427953


-- 
DragonFly BSD source repository



More information about the Commits mailing list