Hi @sutter_zhou ,
'inline' is just a hint for the compiler: if it is getting inline or not is depending on the compiler decision.
If you really want to have things inlined, you need to use a macro for the code.
Checking the map file if a symbol/function is there does not tell you if it is inlined or not: you need to check the actual calls, because if you take the address of an inlined function there will be both inlined and non-inlined versions.
And check your compiler/optimization settings: if you optimize for code size, the compiler likely will not inline as this in general increases the code size. If not already set: optimize for speed.
I hope this helps,
Erich