Home
last modified time | relevance | path

Searched refs:last_id (Results 1 – 2 of 2) sorted by relevance

/tools/lib/bpf/
Dbtf_dump.c86 int last_id; member
191 int err, last_id = btf__get_nr_types(d->btf); in btf_dump_resize() local
193 if (last_id <= d->last_id) in btf_dump_resize()
197 sizeof(*d->type_states), last_id + 1)) in btf_dump_resize()
200 sizeof(*d->cached_names), last_id + 1)) in btf_dump_resize()
203 if (d->last_id == 0) { in btf_dump_resize()
214 d->last_id = last_id; in btf_dump_resize()
239 for (i = 0; i <= d->last_id; i++) { in btf_dump__free()
312 for (i = d->last_id + 1; i <= n; i++) { in btf_dump_mark_referenced()
/tools/perf/scripts/python/
Dexported-sql-viewer.py2554 self.last_id = -1
2565 stmt = self.sql.replace("$$last_id$$", str(self.last_id))
2573 self.last_id = self.query.value(0)
3438 self.last_id = 0
3445 self.last_id = int(query.value(0))
3523 vrange[0] = self.BinarySearchTime(0, self.last_id, beg_range, True)
3524 vrange[1] = self.BinarySearchTime(1, self.last_id + 1, end_range, False)