| 57 | } |
| 58 | |
| 59 | bool resolve_tp_func_offset_func(const IsfSymbols& isf, u64& off_func) { |
| 60 | try { |
| 61 | off_func = isf.field_offset("tracepoint_func", "func"); |
| 62 | return true; |
| 63 | } catch (...) { |
| 64 | off_func = 0; |
| 65 | return false; // tracepoint_func.func IS at offset 0 |
| 66 | } |
| 67 | } |
| 68 | |
| 69 | } // anonymous |
| 70 |
no test coverage detected