Changeset 7a0359b in mainline for kernel/generic/include/bitops.h


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/include/bitops.h

    re3ee9b9 r7a0359b  
    3636#define KERN_BITOPS_H_
    3737
     38#include <trace.h>
     39
    3840#ifdef __32_BITS__
    3941        #define fnzb(arg)  fnzb32(arg)
     
    4951 *
    5052 */
    51 static inline uint8_t fnzb32(uint32_t arg)
     53NO_TRACE static inline uint8_t fnzb32(uint32_t arg)
    5254{
    5355        uint8_t n = 0;
     
    8486 *
    8587 */
    86 static inline uint8_t fnzb64(uint64_t arg)
     88NO_TRACE static inline uint8_t fnzb64(uint64_t arg)
    8789{
    8890        uint8_t n = 0;
Note: See TracChangeset for help on using the changeset viewer.