Changeset 7a0359b in mainline for kernel/generic/src/ddi/ddi.c


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/generic/src/ddi/ddi.c

    re3ee9b9 r7a0359b  
    5252#include <align.h>
    5353#include <errno.h>
     54#include <trace.h>
    5455
    5556/** This lock protects the parea_btree. */
     
    99100 *
    100101 */
    101 static int ddi_physmem_map(uintptr_t pf, uintptr_t vp, size_t pages,
     102NO_TRACE static int ddi_physmem_map(uintptr_t pf, uintptr_t vp, size_t pages,
    102103    unsigned int flags)
    103104{
     
    187188 *
    188189 */
    189 static int ddi_iospace_enable(task_id_t id, uintptr_t ioaddr, size_t size)
     190NO_TRACE static int ddi_iospace_enable(task_id_t id, uintptr_t ioaddr,
     191    size_t size)
    190192{
    191193        /*
Note: See TracChangeset for help on using the changeset viewer.