Home
last modified time | relevance | path

Searched refs:leader (Results 1 – 25 of 38) sorted by relevance

12

/external/mesa3d/src/glsl/
Dir_basic_block.cpp58 ir_instruction *leader = NULL; in call_for_basic_blocks() local
67 if (!leader) in call_for_basic_blocks()
68 leader = ir; in call_for_basic_blocks()
71 callback(leader, ir, data); in call_for_basic_blocks()
72 leader = NULL; in call_for_basic_blocks()
77 callback(leader, ir, data); in call_for_basic_blocks()
78 leader = NULL; in call_for_basic_blocks()
81 callback(leader, ir, data); in call_for_basic_blocks()
82 leader = NULL; in call_for_basic_blocks()
103 if (leader) { in call_for_basic_blocks()
[all …]
/external/ltrace/
Dproc.c141 if (proc->leader == NULL) { in process_bare_init()
148 if (proc->leader == proc) { in process_bare_init()
227 if (proc->leader != proc) { in process_init()
228 proc->e_machine = proc->leader->e_machine; in process_init()
229 proc->e_class = proc->leader->e_class; in process_init()
350 if (proc_add_breakpoint(data->new_proc->leader, clone) < 0) { in clone_single_bp()
372 if (retp->leader != retp) in process_clone()
379 for (lib = proc->leader->libraries; lib != NULL; lib = lib->next) { in process_clone()
409 if (DICT_EACH(proc->leader->breakpoints, in process_clone()
526 struct process *leader = proc->leader; in process_hit_start() local
[all …]
Dbreakpoints.c117 assert(proc->leader == proc); in address2bpstruct()
305 struct process *leader = proc->leader; in insert_breakpoint() local
306 assert(leader != NULL); in insert_breakpoint()
307 assert(leader->breakpoints != NULL); in insert_breakpoint()
317 if (DICT_FIND_VAL(leader->breakpoints, &bp->addr, &ext_bp) != 0) { in insert_breakpoint()
318 if (proc_add_breakpoint(leader, bp) < 0) in insert_breakpoint()
325 proc_remove_breakpoint(leader, bp); in insert_breakpoint()
338 struct process *leader = proc->leader; in delete_breakpoint_at() local
339 assert(leader != NULL); in delete_breakpoint_at()
342 DICT_FIND_VAL(leader->breakpoints, &addr, &bp); in delete_breakpoint_at()
[all …]
Dhandle_event.c106 && event->proc->leader != NULL in handle_event()
107 && event->proc != event->proc->leader) { in handle_event()
108 event = call_handler(event->proc->leader, event); in handle_event()
681 struct process *leader = event->proc->leader; in handle_breakpoint() local
685 if (leader == NULL) { in handle_breakpoint()
731 if ((sbp = address2bpstruct(leader, brk_addr)) != NULL) { in handle_breakpoint()
741 if ((sbp = address2bpstruct(leader, brk_addr)) != NULL) in handle_breakpoint()
749 if ((sbp = address2bpstruct(leader, brk_addr)) != NULL) { in handle_breakpoint()
843 = address2bpstruct(proc->leader, elem->return_addr); in callstack_pop()
Dlibltrace.c58 if (p_proc == proc || p_proc->leader == proc->leader) { in stop_non_p_processes()
Dproc.h146 struct process *leader; member
192 void change_process_leader(struct process *proc, struct process *leader);
/external/ltrace/sysdeps/linux-gnu/
Dtrace.c267 return each_task(task->leader, NULL, &task_vforked, NULL) != NULL; in is_vfork_parent()
273 struct process *leader = task->leader; in send_sigstop() local
282 destroy_event_handler(leader); in send_sigstop()
335 if (DICT_FIND_VAL(proc->leader->breakpoints, &ip, &found) < 0) { in ugly_workaround()
346 struct process *leader) in process_stopping_done() argument
374 destroy_event_handler(leader); in process_stopping_done()
386 && event->proc->leader == data in undo_breakpoint()
417 detach_process(struct process *leader) in detach_process() argument
419 each_qd_event(&undo_breakpoint, leader); in detach_process()
420 disable_all_breakpoints(leader); in detach_process()
[all …]
Devents.c121 || event->proc->leader == NULL in event_process_not_reenabling()
122 || event->proc->leader->event_handler == NULL) in event_process_not_reenabling()
203 struct process *leader = event.proc->leader; in next_event() local
320 && leader != NULL in next_event()
321 && address2bpstruct(leader, break_address)) in next_event()
/external/linux-tools-perf/src/tools/perf/tests/
Dparse-events.c505 struct perf_evsel *evsel, *leader; in test__group1() local
511 evsel = leader = perf_evlist__first(evlist); in test__group1()
538 TEST_ASSERT_VAL("wrong leader", evsel->leader == leader); in test__group1()
547 struct perf_evsel *evsel, *leader; in test__group2() local
553 evsel = leader = perf_evlist__first(evlist); in test__group2()
579 TEST_ASSERT_VAL("wrong leader", evsel->leader == leader); in test__group2()
602 struct perf_evsel *evsel, *leader; in test__group3() local
608 evsel = leader = perf_evlist__first(evlist); in test__group3()
621 !strcmp(leader->group_name, "group1")); in test__group3()
638 TEST_ASSERT_VAL("wrong leader", evsel->leader == leader); in test__group3()
[all …]
Dhists_link.c320 static int validate_match(struct hists *leader, struct hists *other) in validate_match() argument
322 return __validate_match(leader) || __validate_match(other); in validate_match()
398 static int validate_link(struct hists *leader, struct hists *other) in validate_link() argument
400 return __validate_link(leader, 0) || __validate_link(other, 1); in validate_link()
/external/ltrace/sysdeps/linux-gnu/mips/
Dplt.c258 struct process *leader = proc->leader; in arch_symbol_ret() local
284 if (breakpoint_init(bp, leader, resolved_addr, libsym) < 0) in arch_symbol_ret()
287 if (proc_add_breakpoint(leader, bp) < 0) { in arch_symbol_ret()
292 if (breakpoint_turn_on(bp, leader) < 0) { in arch_symbol_ret()
293 proc_remove_breakpoint(leader, bp); in arch_symbol_ret()
340 proc_each_library(proc->leader, NULL, cb_enable_breakpoint_lib, NULL); in arch_dynlink_done()
Dtrace.c281 if (DICT_HAS_KEY(proc->leader->breakpoints, &baddr)) { in arch_sw_singlestep()
/external/ltrace/sysdeps/linux-gnu/ppc/
Dplt.c912 struct process *leader = proc->leader; in cb_keep_stepping_p() local
913 if (leader == NULL || leader->arch.dl_plt_update_bp != NULL) in cb_keep_stepping_p()
920 leader->arch.dl_plt_update_bp = insert_breakpoint_at(proc, addr, NULL); in cb_keep_stepping_p()
921 if (leader->arch.dl_plt_update_bp == NULL) in cb_keep_stepping_p()
927 leader->arch.dl_plt_update_bp->cbs = &dl_plt_update_cbs; in cb_keep_stepping_p()
931 breakpoint_turn_off(leader->arch.dl_plt_update_bp, proc); in cb_keep_stepping_p()
962 struct process *leader; in ppc_plt_bp_continue() local
977 leader = proc->leader; in ppc_plt_bp_continue()
979 if (leader != NULL && leader->arch.dl_plt_update_bp != NULL in ppc_plt_bp_continue()
980 && breakpoint_turn_on(leader->arch.dl_plt_update_bp, in ppc_plt_bp_continue()
[all …]
Dtrace.c95 struct breakpoint *other = address2bpstruct(proc->leader, ip); in arch_sw_singlestep()
/external/linux-tools-perf/src/tools/perf/util/
Devsel.h91 struct perf_evsel *leader; member
277 return evsel->leader == evsel; in perf_evsel__is_group_leader()
313 return evsel->idx - evsel->leader->idx; in perf_evsel__group_idx()
318 (_evsel) && (_evsel)->leader == (_leader); \
Dhist.h134 void hists__match(struct hists *leader, struct hists *other);
135 int hists__link(struct hists *leader, struct hists *other);
Devlist.c125 struct perf_evsel *evsel, *leader; in __perf_evlist__set_leader() local
127 leader = list_entry(list->next, struct perf_evsel, node); in __perf_evlist__set_leader()
130 leader->nr_members = evsel->idx - leader->idx + 1; in __perf_evlist__set_leader()
133 evsel->leader = leader; in __perf_evlist__set_leader()
Devsel.c164 evsel->leader = evsel; in perf_evsel__init()
572 struct perf_evsel *leader = evsel->leader; in perf_evsel__config() local
595 if (leader->nr_members > 1) { in perf_evsel__config()
620 if ((leader != evsel) && leader->sample_read) { in perf_evsel__config()
925 struct perf_evsel *leader = evsel->leader; in get_group_fd() local
935 BUG_ON(!leader->fd); in get_group_fd()
937 fd = FD(leader, cpu, thread); in get_group_fd()
Dhist.c952 void hists__match(struct hists *leader, struct hists *other) in hists__match() argument
959 root = &leader->entries_collapsed; in hists__match()
961 root = leader->entries_in; in hists__match()
977 int hists__link(struct hists *leader, struct hists *other) in hists__link() argument
992 pair = hists__add_dummy_entry(leader, pos); in hists__link()
/external/libvterm/src/
Dparser.c24 char leader[CSI_LEADER_MAX]; in do_string_csi() local
31 leader[leaderlen++] = args[i]; in do_string_csi()
34 leader[leaderlen] = 0; in do_string_csi()
100 …if((*vt->parser_callbacks->csi)(leaderlen ? leader : NULL, csi_args, argcount, intermedlen ? inter… in do_string_csi()
Dstate.c899 static int on_csi(const char *leader, const long args[], int argcount, const char *intermed, char c… in on_csi() argument
905 if(leader && leader[0]) { in on_csi()
906 if(leader[1]) // longer than 1 char in on_csi()
909 switch(leader[0]) { in on_csi()
912 leader_byte = leader[0]; in on_csi()
/external/llvm/lib/CodeGen/
DLiveDebugVariables.cpp119 UserValue *leader; ///< Equivalence class leader. member in __anon0f87dc460211::UserValue
147 leader(this), next(nullptr), locInts(alloc) {} in UserValue()
151 UserValue *l = leader; in getLeader()
152 while (l != l->leader) in getLeader()
153 l = l->leader; in getLeader()
154 return leader = l; in getLeader()
178 End->leader = L1, End = End->next; in merge()
179 End->leader = L1; in merge()
/external/strace/
DREADME-linux-ptrace433 ptrace option. Then all other threads except thread group leader report
436 (on which tracee - leader? execve-ing one?).
441 coincides with thread group leader tid.
443 If thread group leader has reported its death by this time, for tracer
444 this looks like dead thread leader "reappears from nowhere". If thread
445 group leader was still alive, for tracer this may look as if thread
446 group leader returns from a different syscall than it entered, or even
448 thread group leader was not traced (or was traced by a different
460 guaranteed that except this tracee and thread group leader, no other
527 If thread group leader is traced and exits by calling exit syscall,
[all …]
/external/linux-tools-perf/src/tools/perf/
Ddesign.txt262 counter group has one counter which is the group "leader". The leader
265 subsequently, with group_fd giving the fd of the group leader.
421 Enabling or disabling the leader of a group enables or disables the
422 whole group; that is, while the group leader is disabled, none of the
424 group other than the leader only affects that counter - disabling an
425 non-leader stops that counter from counting but doesn't affect any
/external/emma/core/java12/com/vladium/emma/instr/
DInstrVisitor.java981 final int leader = _leaders [bl]; in visit() local
983 block.m_first = leader; // m_first set in visit()
984 leaderToBlockID.put (leader, bl); in visit()
998 block.m_length = next_branch_location - leader; // m_length set in visit()
1016 block.m_length = next_leader - leader; // m_length set in visit()

12