Home
last modified time | relevance | path

Searched refs:pl_flags (Results 1 – 23 of 23) sorted by relevance

/freebsd/lib/libpmc/
H A Dpmclog.h94 uint32_t pl_flags;
102 uint32_t pl_flags; member
109 uint32_t pl_flags;
133 uint32_t pl_flags;
163 uint32_t pl_flags;
87 uint32_t pl_flags; global() member
95 uint32_t pl_flags; global() member
126 uint32_t pl_flags; global() member
156 uint32_t pl_flags; global() member
H A Dlibpmc_json.cc109 ev->pl_u.pl_a.pl_flags, (intmax_t)ev->pl_u.pl_a.pl_rate); in pmcallocate_to_json()
288 ev->pl_u.pl_ad.pl_flags, ev->pl_u.pl_ad.pl_evname); in pmcallocatedyn_to_json()
302 ev->pl_u.pl_pc.pl_flags, ev->pl_u.pl_pc.pl_pcomm); in proccreate_to_json()
316 ev->pl_u.pl_tc.pl_flags, ev->pl_u.pl_tc.pl_tdname); in threadcreate_to_json()
H A Dpmclog.c354 PMCLOG_READ32(le,ev->pl_u.pl_a.pl_flags); in pmclog_get_event()
362 if ((ev->pl_u.pl_a.pl_flags & PMC_F_EV_PMU) != 0) in pmclog_get_event()
380 PMCLOG_READ32(le,ev->pl_u.pl_ad.pl_flags); in pmclog_get_event()
426 PMCLOG_READ32(le,ev->pl_u.pl_tc.pl_flags); in pmclog_get_event()
435 PMCLOG_READ32(le,ev->pl_u.pl_pc.pl_flags); in pmclog_get_event()
/freebsd/tools/test/ptrace/
H A Dscescx.c109 flags = lwpinfo->pl_flags; in decode_pl_flags()
190 if ((lwpinfo->pl_flags & (PL_FLAG_SCE | PL_FLAG_SCX)) != 0) { in wait_info()
247 assert(lwpinfo.pl_flags & PL_FLAG_SCE); in trace_sc()
272 assert(lwpinfo.pl_flags & PL_FLAG_SCX); in trace_sc()
292 if (lwpinfo.pl_flags & PL_FLAG_EXEC) in trace_sc()
295 if (lwpinfo.pl_flags & PL_FLAG_FORKED) { in trace_sc()
332 if ((lwpinfo.pl_flags & (PL_FLAG_EXEC | PL_FLAG_SCX)) == in trace_cont()
336 if ((lwpinfo.pl_flags & (PL_FLAG_FORKED | PL_FLAG_SCX)) == in trace_cont()
/freebsd/tests/sys/kern/
H A Dptrace_test.c599 ATF_REQUIRE((pl.pl_flags & (PL_FLAG_FORKED | PL_FLAG_CHILD)) != in handle_fork_events()
601 ATF_REQUIRE((pl.pl_flags & (PL_FLAG_FORKED | PL_FLAG_CHILD)) != in handle_fork_events()
603 if (pl.pl_flags & PL_FLAG_CHILD) { in handle_fork_events()
1136 ATF_REQUIRE((pl[0].pl_flags & PL_FLAG_SCX) != 0); in ATF_TC_BODY()
1137 ATF_REQUIRE((pl[1].pl_flags & PL_FLAG_SCX) != 0); in ATF_TC_BODY()
1199 ATF_REQUIRE((pl[0].pl_flags & PL_FLAG_SCX) != 0); in ATF_TC_BODY()
1200 ATF_REQUIRE((pl[1].pl_flags & PL_FLAG_SCX) != 0); in ATF_TC_BODY()
1293 ATF_REQUIRE((pl.pl_flags & PL_FLAG_SCX) != 0); in ATF_TC_BODY()
1361 REQUIRE_EQ((pl.pl_flags & (PL_FLAG_BORN | PL_FLAG_SCX)), in ATF_TC_BODY()
1375 REQUIRE_EQ((pl.pl_flags & (PL_FLAG_EXITED | PL_FLAG_SCE)), in ATF_TC_BODY()
[all …]
/freebsd/sys/sys/
H A Dpmclog.h185 uint32_t pl_flags;
215 uint32_t pl_flags;
253 uint32_t pl_flags;
274 uint32_t pl_flags;
179 uint32_t pl_flags; global() member
209 uint32_t pl_flags; global() member
247 uint32_t pl_flags; global() member
268 uint32_t pl_flags; global() member
H A Dptrace.h135 int pl_flags; /* LWP flags. */ member
161 int pl_flags; /* LWP flags. */ member
/freebsd/lib/libproc/
H A Dproc_util.c225 (lwpinfo.pl_flags & PL_FLAG_SI) != 0) { in proc_getlwpstatus()
235 } else if (lwpinfo.pl_flags & PL_FLAG_SCE) { in proc_getlwpstatus()
237 } else if (lwpinfo.pl_flags & PL_FLAG_SCX) { in proc_getlwpstatus()
/freebsd/sys/compat/linux/
H A Dlinux_ptrace.c142 lwpinfo.pl_flags & PL_FLAG_SCE) in linux_ptrace_status()
145 lwpinfo.pl_flags & PL_FLAG_SCX) { in linux_ptrace_status()
146 if (lwpinfo.pl_flags & PL_FLAG_EXEC) in linux_ptrace_status()
152 lwpinfo.pl_flags & PL_FLAG_EXITED) in linux_ptrace_status()
249 if ((lwpinfo.pl_flags & PL_FLAG_SI) == 0) { in linux_ptrace_getsiginfo()
465 if (lwpinfo.pl_flags & PL_FLAG_SCE) { in linux_ptrace_get_syscall_info()
475 } else if (lwpinfo.pl_flags & PL_FLAG_SCX) { in linux_ptrace_get_syscall_info()
/freebsd/usr.bin/truss/
H A Dsetup.c384 if (pl.pl_flags & PL_FLAG_SCE) { in add_threads()
735 if (pl->pl_flags & PL_FLAG_EXEC) { in exit_syscall()
900 if (pl->pl_event == PL_EVENT_SIGNAL && pl->pl_flags & PL_FLAG_SI) in report_signal()
922 if ((pl.pl_flags & PL_FLAG_CHILD) != 0) { in eventloop_handle_trapped()
924 } else if ((pl.pl_flags & PL_FLAG_BORN) != 0) { in eventloop_handle_trapped()
930 if (si_status == SIGTRAP && (pl.pl_flags & (PL_FLAG_BORN | in eventloop_handle_trapped()
932 if ((pl.pl_flags & PL_FLAG_BORN) != 0) { in eventloop_handle_trapped()
935 } else if ((pl.pl_flags & PL_FLAG_EXITED) != 0) { in eventloop_handle_trapped()
940 } else if ((pl.pl_flags & PL_FLAG_SCE) != 0) { in eventloop_handle_trapped()
942 } else if ((pl.pl_flags & PL_FLAG_SCX) != 0) { in eventloop_handle_trapped()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/FreeBSD/
H A DNativeProcessFreeBSD.cpp225 info.pl_lwpid, info.pl_flags); in MonitorSIGTRAP()
228 if (info.pl_flags & (PL_FLAG_BORN | PL_FLAG_EXITED)) { in MonitorSIGTRAP()
229 if (info.pl_flags & PL_FLAG_BORN) { in MonitorSIGTRAP()
263 if (info.pl_flags & PL_FLAG_EXEC) { in MonitorSIGTRAP()
291 if (info.pl_flags & PL_FLAG_FORKED) { in MonitorSIGTRAP()
293 MonitorClone(info.pl_child_pid, info.pl_flags & PL_FLAG_VFORKED, *thread); in MonitorSIGTRAP()
297 if (info.pl_flags & PL_FLAG_VFORK_DONE) { in MonitorSIGTRAP()
311 if (info.pl_flags & PL_FLAG_SI) { in MonitorSIGTRAP()
392 assert(info.pl_flags & PL_FLAG_SI); in MonitorSignal()
H A DNativeThreadFreeBSD.cpp338 if (!(info.pl_flags & PL_FLAG_SI)) in GetSiginfo()
/freebsd/sys/kern/
H A Dsys_process.c1810 pl->pl_flags = 0; in ptrace_action()
1816 pl->pl_flags |= PL_FLAG_SI; in ptrace_action()
1821 pl->pl_flags |= PL_FLAG_SCE; in ptrace_action()
1823 pl->pl_flags |= PL_FLAG_SCX; in ptrace_action()
1825 pl->pl_flags |= PL_FLAG_EXEC; in ptrace_action()
1827 pl->pl_flags |= PL_FLAG_FORKED; in ptrace_action()
1830 pl->pl_flags |= PL_FLAG_VFORKED; in ptrace_action()
1833 pl->pl_flags |= PL_FLAG_VFORK_DONE; in ptrace_action()
1835 pl->pl_flags |= PL_FLAG_CHILD; in ptrace_action()
1837 pl->pl_flags |= PL_FLAG_BORN; in ptrace_action()
[all …]
H A Dimgact_elf.c2453 pl.pl_flags |= PL_FLAG_SI; in __elfN()
/freebsd/usr.sbin/pmc/
H A Dcmd_pmc_summary.cc114 kerntidmap[ev.pl_u.pl_tc.pl_tid] = !!(ev.pl_u.pl_tc.pl_flags & P_KPROC); in pmc_summary_handler()
120 kernpidmap[ev.pl_u.pl_pc.pl_pid] = !!(ev.pl_u.pl_pc.pl_flags & P_KPROC); in pmc_summary_handler()
H A Dview.hh120 if ((p.pl_flags & P_KPROC) != 0) in procinfo()
/freebsd/usr.sbin/pmcstat/
H A Dpmcstat_log.c557 ev.pl_u.pl_a.pl_flags); in pmcstat_print_log()
563 ev.pl_u.pl_ad.pl_flags); in pmcstat_print_log()
585 ev.pl_u.pl_pc.pl_flags, in pmcstat_print_log()
619 ev.pl_u.pl_tc.pl_flags, in pmcstat_print_log()
/freebsd/usr.bin/procstat/
H A Dprocstat_ptlwpinfo.c66 if ((pl[i].pl_flags & PL_FLAG_SI) != 0) { in procstat_ptlwpinfo()
/freebsd/tests/sys/arch/amd64/
H A Dptrace-sce-tamper.c38 if ((info.pl_flags & PL_FLAG_SCE) != 0 && in tamper()
/freebsd/sys/amd64/linux/
H A Dlinux_machdep.c334 if ((lwpinfo.pl_flags & (PL_FLAG_SCE | PL_FLAG_SCX)) != 0) { in linux_ptrace_getregs_machdep()
/freebsd/lib/libthread_db/
H A Dlibthr_db.c493 if ((linfo.pl_flags & PL_FLAG_SI) != 0) in pt_thr_get_info_common()
H A Dlibpthread_db.c518 if (!(pl.pl_flags & PL_FLAG_BOUND)) in pt_dbsuspend()
/freebsd/sys/compat/freebsd32/
H A Dfreebsd32_misc.c987 pl32->pl_flags = pl->pl_flags; in ptrace_lwpinfo_to32()