Home
last modified time | relevance | path

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

12

/tools/perf/util/
Dordered-events.c19 struct ordered_event *last = oe->last; in queue_event() local
24 oe->last = new; in queue_event()
28 if (!last) { in queue_event()
39 if (last->timestamp <= timestamp) { in queue_event()
40 while (last->timestamp <= timestamp) { in queue_event()
41 p = last->list.next; in queue_event()
47 last = list_entry(p, struct ordered_event, list); in queue_event()
49 list_add_tail(&new->list, &last->list); in queue_event()
51 while (last->timestamp > timestamp) { in queue_event()
52 p = last->list.prev; in queue_event()
[all …]
Dthread.c163 struct comm *comm, *last = NULL, *second_last = NULL; in thread__exec_comm() local
168 second_last = last; in thread__exec_comm()
169 last = comm; in thread__exec_comm()
178 if (second_last && !last->start && thread->pid_ == thread->tid) in thread__exec_comm()
181 return last; in thread__exec_comm()
Dordered-events.h38 struct ordered_event *last; member
Dcallchain.h152 struct callchain_cursor_node **last; member
198 cursor->last = &cursor->first; in callchain_cursor_reset()
Dcpumap.c654 bool last = i == map->nr; in cpu_map__snprint() local
656 cpu = last ? INT_MAX : map->map[i]; in cpu_map__snprint()
660 if (last) { in cpu_map__snprint()
665 } else if (((i - start) != (cpu - map->map[start])) || last) { in cpu_map__snprint()
Dparse-events.c1707 struct perf_evsel *last; in parse_events() local
1716 last = perf_evlist__last(evlist); in parse_events()
1717 last->cmdline_group_boundary = true; in parse_events()
1820 struct perf_evsel *last = NULL; in foreach_evsel_in_last_glob() local
1830 last = perf_evlist__last(evlist); in foreach_evsel_in_last_glob()
1833 err = (*func)(last, arg); in foreach_evsel_in_last_glob()
1836 if (!last) in foreach_evsel_in_last_glob()
1839 if (last->node.prev == &evlist->entries) in foreach_evsel_in_last_glob()
1841 last = list_entry(last->node.prev, struct perf_evsel, node); in foreach_evsel_in_last_glob()
1842 } while (!last->cmdline_group_boundary); in foreach_evsel_in_last_glob()
Dcallchain.c973 struct callchain_cursor_node **old_last = cursor->last; in merge_chain_branch()
1009 cursor->last = old_last; in merge_chain_branch()
1025 struct callchain_cursor_node *node = *cursor->last; in callchain_cursor_append()
1032 *cursor->last = node; in callchain_cursor_append()
1050 cursor->last = &node->next; in callchain_cursor_append()
Dsort.c1903 bool last = false; in update_dynamic_len() local
1918 last = true; in update_dynamic_len()
1933 if (last) in update_dynamic_len()
1988 bool last = false; in __sort__hde_entry() local
2009 last = true; in __sort__hde_entry()
2023 if (last) in __sort__hde_entry()
Dauxtrace.c469 unsigned int pos, last, heap_cnt = heap->heap_cnt; in auxtrace_heap__pop() local
500 last = heap_cnt - 1; in auxtrace_heap__pop()
501 auxtrace_heapify(heap_array, pos, heap_array[last].queue_nr, in auxtrace_heap__pop()
502 heap_array[last].ordinal); in auxtrace_heap__pop()
/tools/lib/traceevent/
Devent-plugin.c249 struct registered_plugin_options **last; in traceevent_plugin_remove_options() local
252 for (last = &registered_options; *last; last = &(*last)->next) { in traceevent_plugin_remove_options()
253 if ((*last)->options == options) { in traceevent_plugin_remove_options()
254 reg = *last; in traceevent_plugin_remove_options()
255 *last = reg->next; in traceevent_plugin_remove_options()
/tools/perf/ui/
Dprogress.c19 u64 last = p->curr; in ui_progress__update() local
24 u64 nr = DIV_ROUND_UP(p->curr - last, p->step); in ui_progress__update()
/tools/perf/Documentation/
Ditrace.txt11 l synthesize last branch entries (use with i or x)
28 Also the number of last branch entries (default 64, max. 1024) for
Dintel-pt.txt329 cycles since the last CYC packet. Unlike MTC and TSC packets,
730 l synthesize last branch entries (use with i or x)
764 pwrx: deepest cstate: 2 last cstate: 2 wake reason: 0x4
796 the time since the last timing packet based on 1 tick per instruction. The time
797 on the sample is *not* adjusted and reflects the last known value of TSC.
812 Also the number of last branch entries (default 64, max. 1024) for instructions or
818 Note that last branch entries are cleared for each sample, so there is no overlap
840 slow, and the buffer has been filled completely. In that case, the last packet
Dperf-probe.txt113 If several filters are specified, only the last filter is used.
191 …retval, %ax, etc). Note that the name of this argument will be set as the last member name if you …
Dperf-report.txt153 The last form consists of event and field names. If event name is
242 - branch: include last branch information in callgraph when available.
/tools/testing/selftests/powerpc/pmu/
Dlib.h33 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/power/pm-graph/
Danalyze_suspend.py1579 last = 0
1583 last = self.list[-1]
1584 lasttime = last.time
1587 if debug and last:
1589 last.debugPrint()
1596 if idx == 0 and last and last.fcall and not last.freturn:
1598 last.depth = self.depth
1599 last.freturn = True
1600 last.length = line.time - last.time
1602 last.debugPrint()
[all …]
/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/perf/arch/x86/util/
Dintel-pt.c439 unsigned int val, last = 0, state = 1; in intel_pt_valid_str() local
446 last = val; in intel_pt_valid_str()
467 p += scnprintf(str + p, len - p, ",%u", last); in intel_pt_valid_str()
471 p += scnprintf(str + p, len - p, "-%u", last); in intel_pt_valid_str()
/tools/testing/selftests/x86/
Dmpx-mini-test.c1233 static void *last; in mpx_mini_alloc() local
1239 try_at = last + alignment; in mpx_mini_alloc()
1266 last = ptr; in mpx_mini_alloc()
/tools/objtool/
Dcheck.c975 struct instruction *insn, *last = NULL, *prev_jump = NULL; in add_func_switch_tables() local
980 if (!last) in add_func_switch_tables()
981 last = insn; in add_func_switch_tables()
989 insn->offset > last->offset && in add_func_switch_tables()
994 last = insn->jump_dest; in add_func_switch_tables()
/tools/objtool/arch/x86/lib/
Dx86-opcode-map.txt31 # - (66): the last prefix is 0x66
32 # - (F3): the last prefix is 0xF3
33 # - (F2): the last prefix is 0xF2
34 # - (!F3) : the last prefix is not 0xF3 (including non-last prefix case)
343 # 3DNow! uses the last imm byte as opcode extension.
/tools/perf/util/intel-pt-decoder/
Dx86-opcode-map.txt31 # - (66): the last prefix is 0x66
32 # - (F3): the last prefix is 0xF3
33 # - (F2): the last prefix is 0xF2
34 # - (!F3) : the last prefix is not 0xF3 (including non-last prefix case)
343 # 3DNow! uses the last imm byte as opcode extension.

12