Changeset 7a0359b in mainline for kernel/Makefile


Ignore:
Timestamp:
2010-07-02T15:42:19Z (14 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
bbfdf62
Parents:
e3ee9b9
Message:

improve kernel function tracing

  • add support for more generic kernel sources
  • replace attribute((no_instrument_function)) with NO_TRACE macro (shorter and for future compatibility with different compilers)
  • to be on the safe side, do not instrument most of the inline and static functions (plus some specific non-static functions)

collateral code cleanup (no change in functionality)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/Makefile

    re3ee9b9 r7a0359b  
    365365
    366366ifeq ($(CONFIG_TRACE),y)
    367 INSTRUMENTED_SOURCES = \
    368         generic/src/cpu/cpu.c \
    369         generic/src/main/main.c \
    370         generic/src/main/kinit.c \
    371         generic/src/proc/the.c
     367        INSTRUMENTED_SOURCES = \
     368                generic/src/adt/btree.c \
     369                generic/src/cpu/cpu.c \
     370                generic/src/ddi/ddi.c \
     371                generic/src/interrupt/interrupt.c \
     372                generic/src/main/main.c \
     373                generic/src/main/kinit.c \
     374                generic/src/proc/the.c \
     375                generic/src/proc/tasklet.c \
     376                generic/src/mm/frame.c \
     377                generic/src/mm/page.c \
     378                generic/src/mm/tlb.c \
     379                generic/src/mm/as.c \
     380                generic/src/mm/slab.c \
     381                generic/src/sysinfo/sysinfo.c \
     382                generic/src/console/kconsole.c
     383else
     384        INSTRUMENTED_SOURCES =
    372385endif
    373386
Note: See TracChangeset for help on using the changeset viewer.