Home
last modified time | relevance | path

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

/tools/lib/bpf/
Dbtf_dump.c63 int last_id; member
164 int err, last_id = btf__get_nr_types(d->btf); in btf_dump_resize() local
166 if (last_id <= d->last_id) in btf_dump_resize()
170 sizeof(*d->type_states), last_id + 1)) in btf_dump_resize()
173 sizeof(*d->cached_names), last_id + 1)) in btf_dump_resize()
176 if (d->last_id == 0) { in btf_dump_resize()
187 d->last_id = last_id; in btf_dump_resize()
212 for (i = 0; i <= d->last_id; i++) { in btf_dump__free()
285 for (i = d->last_id + 1; i <= n; i++) { in btf_dump_mark_referenced()
/tools/perf/scripts/python/
Dexported-sql-viewer.py2553 self.last_id = -1
2564 stmt = self.sql.replace("$$last_id$$", str(self.last_id))
2572 self.last_id = self.query.value(0)
3437 self.last_id = 0
3444 self.last_id = int(query.value(0))
3522 vrange[0] = self.BinarySearchTime(0, self.last_id, beg_range, True)
3523 vrange[1] = self.BinarySearchTime(1, self.last_id + 1, end_range, False)