Changeset 7a0359b in mainline for kernel/arch/ia64/include/mm/page.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/arch/ia64/include/mm/page.h

    re3ee9b9 r7a0359b  
    208208 * @return Address of the head of VHPT collision chain.
    209209 */
    210 static inline uint64_t thash(uint64_t va)
     210NO_TRACE static inline uint64_t thash(uint64_t va)
    211211{
    212212        uint64_t ret;
     
    230230 * @return The unique tag for VPN and RID in the collision chain returned by thash().
    231231 */
    232 static inline uint64_t ttag(uint64_t va)
     232NO_TRACE static inline uint64_t ttag(uint64_t va)
    233233{
    234234        uint64_t ret;
     
    249249 * @return Current contents of rr[i].
    250250 */
    251 static inline uint64_t rr_read(size_t i)
     251NO_TRACE static inline uint64_t rr_read(size_t i)
    252252{
    253253        uint64_t ret;
     
    269269 * @param v Value to be written to rr[i].
    270270 */
    271 static inline void rr_write(size_t i, uint64_t v)
     271NO_TRACE static inline void rr_write(size_t i, uint64_t v)
    272272{
    273273        ASSERT(i < REGION_REGISTERS);
     
    284284 * @return Current value stored in PTA.
    285285 */
    286 static inline uint64_t pta_read(void)
     286NO_TRACE static inline uint64_t pta_read(void)
    287287{
    288288        uint64_t ret;
     
    300300 * @param v New value to be stored in PTA.
    301301 */
    302 static inline void pta_write(uint64_t v)
     302NO_TRACE static inline void pta_write(uint64_t v)
    303303{
    304304        asm volatile (
Note: See TracChangeset for help on using the changeset viewer.