Home
last modified time | relevance | path

Searched refs:last (Results 1 – 25 of 73) sorted by relevance

123

/tools/perf/util/
Dordered-events.c20 struct ordered_event *last = oe->last; in queue_event() local
25 oe->last = new; in queue_event()
29 if (!last) { in queue_event()
40 if (last->timestamp <= timestamp) { in queue_event()
41 while (last->timestamp <= timestamp) { in queue_event()
42 p = last->list.next; in queue_event()
48 last = list_entry(p, struct ordered_event, list); in queue_event()
50 list_add_tail(&new->list, &last->list); in queue_event()
52 while (last->timestamp > timestamp) { in queue_event()
53 p = last->list.prev; in queue_event()
[all …]
Dthread.c218 struct comm *comm, *last = NULL, *second_last = NULL; in thread__exec_comm() local
223 second_last = last; in thread__exec_comm()
224 last = comm; in thread__exec_comm()
233 if (second_last && !last->start && thread->pid_ == thread->tid) in thread__exec_comm()
236 return last; in thread__exec_comm()
Dcpumap.c497 bool last = i == map->nr; in cpu_map__snprint() local
499 cpu = last ? INT_MAX : map->map[i]; in cpu_map__snprint()
503 if (last) { in cpu_map__snprint()
508 } else if (((i - start) != (cpu - map->map[start])) || last) { in cpu_map__snprint()
Dordered-events.h45 struct ordered_event *last; member
Dparse-events.c2171 struct evsel *last; in __parse_events() local
2174 last = evlist__last(evlist); in __parse_events()
2175 last->cmdline_group_boundary = true; in __parse_events()
2320 struct evsel *last = NULL; in foreach_evsel_in_last_glob() local
2330 last = evlist__last(evlist); in foreach_evsel_in_last_glob()
2333 err = (*func)(last, arg); in foreach_evsel_in_last_glob()
2336 if (!last) in foreach_evsel_in_last_glob()
2339 if (last->core.node.prev == &evlist->core.entries) in foreach_evsel_in_last_glob()
2341 last = list_entry(last->core.node.prev, struct evsel, core.node); in foreach_evsel_in_last_glob()
2342 } while (!last->cmdline_group_boundary); in foreach_evsel_in_last_glob()
/tools/perf/tests/
Dtime-utils-test.c63 u64 last; member
74 .last_sample_time = d->last, in test__perf_time__parse_for_ranges()
86 d->first, d->last); in test__perf_time__parse_for_ranges()
193 .last = b + 100, in test__time_utils()
208 .last = b + 100, in test__time_utils()
223 .last = b + 100, in test__time_utils()
238 .last = b + 100, in test__time_utils()
/tools/perf/ui/
Dprogress.c18 u64 last = p->curr; in ui_progress__update() local
23 u64 nr = DIV_ROUND_UP(p->curr - last, p->step); in ui_progress__update()
/tools/perf/Documentation/
Ditrace.txt13 m synthesize last level cache events
18 l synthesize last branch entries (use with i or x)
19 L synthesize last branch entries on existing event records
38 Also the number of last branch entries (default 64, max. 1024) for
/tools/lib/traceevent/
Devent-plugin.c244 struct registered_plugin_options **last; in tep_plugin_remove_options() local
247 for (last = &registered_options; *last; last = &(*last)->next) { in tep_plugin_remove_options()
248 if ((*last)->options == options) { in tep_plugin_remove_options()
249 reg = *last; in tep_plugin_remove_options()
250 *last = reg->next; in tep_plugin_remove_options()
/tools/testing/selftests/kvm/lib/
Dsparsebit.c1896 sparsebit_idx_t first, last; member
1909 if (ranges[i].first <= idx && idx <= ranges[i].last) in get_value()
1915 static void operate(int code, sparsebit_idx_t first, sparsebit_idx_t last) in operate() argument
1920 if (first < last) { in operate()
1921 num = last - first + 1; in operate()
1923 num = first - last + 1; in operate()
1924 first = last; in operate()
1925 last = first + num - 1; in operate()
1940 { .first = first, .last = first, .set = true }; in operate()
1953 { .first = first, .last = first, .set = false }; in operate()
[all …]
/tools/testing/selftests/powerpc/pmu/
Dlib.h34 uint64_t first, last; member
Dlib.c177 libc.last = end - 1; in parse_proc_maps()
180 vdso.last = end - 1; in parse_proc_maps()
/tools/testing/selftests/netfilter/
Dnf-queue.c192 unsigned int last, total; in print_stats() local
196 last = queue_stats[0]; in print_stats()
200 last = queue_stats[i]; in print_stats()
201 total += last; in print_stats()
Dnft_queue.sh218 local last=""
242 last=$(tail -n1 "$file")
243 if [ x"$last" != x"$expected packets total" ]; then
244 echo "FAIL: Expected $expected packets total, but got $last" 1>&2
252 echo "PASS: Expected and received $last"
/tools/bpf/bpftool/
Dcfg.c202 struct bb_node *bb, *last; in func_partition_bb_tail() local
204 last = func_last_bb(func); in func_partition_bb_tail()
205 last->tail = func->end; in func_partition_bb_tail()
207 list_for_each_entry_from(bb, &last->l, l) { in func_partition_bb_tail()
212 last->idx = bb_idx++; in func_partition_bb_tail()
/tools/memory-model/litmus-tests/
DISA2+poonceonces.litmus7 * against the last process's load, is ordering preserved if all of the
/tools/lib/traceevent/Documentation/
Dlibtraceevent-fields.txt22 by free(). The last element of the array is NULL.
26 by free(). The last element of the array is NULL.
/tools/testing/selftests/drivers/net/mlxsw/
Dtc_flower_scale.sh93 local last=$((count - 1))
/tools/include/linux/
Dlist.h279 struct list_head *last = list->prev; in __list_splice() local
284 last->next = next; in __list_splice()
285 next->prev = last; in __list_splice()
/tools/virtio/
Dvringh_test.c91 static void find_cpus(unsigned int *first, unsigned int *last) in find_cpus() argument
96 *last = 0; in find_cpus()
104 if (i > *last) in find_cpus()
105 *last = i; in find_cpus()
/tools/testing/selftests/kvm/lib/x86_64/
Dvmx.c519 sparsebit_idx_t i, last; in nested_map_memslot() local
524 last = i + (region->region.memory_size >> vm->page_shift); in nested_map_memslot()
527 if (i > last) in nested_map_memslot()
/tools/bpf/bpftool/Documentation/
Dbpftool-link.rst57 a defunct state until last open file descriptor for that
/tools/power/pm-graph/
Dsleepgraph.py2265 last = 0
2268 last = self.list[-1]
2269 lasttime = last.time
2270 if last.isLeaf():
2271 lasttime += last.length
2281 if idx == 0 and last and last.isCall():
2283 last.depth = self.depth
2284 last.freturn = True
2285 last.length = line.time - last.time
2287 info.append(('[make leaf]', last))
[all …]
/tools/power/pm-graph/config/
Dstandby.cfg66 # Include an N ms delay after (last) resume (default: 0 ms)
Dfreeze.cfg66 # Include an N ms delay after (last) resume (default: 0 ms)

123