| 91 | } |
| 92 | |
| 93 | static const char *timestamp_name(enum timestamp_id id) |
| 94 | { |
| 95 | int i; |
| 96 | |
| 97 | for (i = 0; i < ARRAY_SIZE(timestamp_ids); i++) { |
| 98 | if (timestamp_ids[i].id == id) |
| 99 | return timestamp_ids[i].name; |
| 100 | } |
| 101 | |
| 102 | return "Unknown timestamp ID"; |
| 103 | } |
| 104 | |
| 105 | static void timestamp_add_table_entry(struct timestamp_table *ts_table, |
| 106 | enum timestamp_id id, int64_t ts_time) |