Home
last modified time | relevance | path

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

/freebsd-13.1/lib/libpmc/
H A Dpmclog.h89 uint32_t pl_flags; member
97 uint32_t pl_flags; member
104 uint32_t pl_flags; member
128 uint32_t pl_flags; member
157 uint32_t pl_flags; member
H A Dlibpmc_json.cc111 ev->pl_u.pl_a.pl_flags, (intmax_t)ev->pl_u.pl_a.pl_rate); in pmcallocate_to_json()
287 ev->pl_u.pl_ad.pl_flags, ev->pl_u.pl_ad.pl_evname); in pmcallocatedyn_to_json()
301 ev->pl_u.pl_pc.pl_flags, ev->pl_u.pl_pc.pl_pcomm); in proccreate_to_json()
315 ev->pl_u.pl_tc.pl_flags, ev->pl_u.pl_tc.pl_tdname); in threadcreate_to_json()
H A Dpmclog.c356 PMCLOG_READ32(le,ev->pl_u.pl_a.pl_flags); in pmclog_get_event()
372 PMCLOG_READ32(le,ev->pl_u.pl_ad.pl_flags); in pmclog_get_event()
417 PMCLOG_READ32(le,ev->pl_u.pl_tc.pl_flags); in pmclog_get_event()
426 PMCLOG_READ32(le,ev->pl_u.pl_pc.pl_flags); in pmclog_get_event()
/freebsd-13.1/tools/test/ptrace/
H A Dscescx.c111 flags = lwpinfo->pl_flags; in decode_pl_flags()
192 if ((lwpinfo->pl_flags & (PL_FLAG_SCE | PL_FLAG_SCX)) != 0) { in wait_info()
245 assert(lwpinfo.pl_flags & PL_FLAG_SCE); in trace_sc()
270 assert(lwpinfo.pl_flags & PL_FLAG_SCX); in trace_sc()
272 if (lwpinfo.pl_flags & PL_FLAG_EXEC) in trace_sc()
275 if (lwpinfo.pl_flags & PL_FLAG_FORKED) { in trace_sc()
312 if ((lwpinfo.pl_flags & (PL_FLAG_EXEC | PL_FLAG_SCX)) == in trace_cont()
316 if ((lwpinfo.pl_flags & (PL_FLAG_FORKED | PL_FLAG_SCX)) == in trace_cont()
/freebsd-13.1/tests/sys/kern/
H A Dptrace_test.c609 if (pl.pl_flags & PL_FLAG_CHILD) { in handle_fork_events()
1546 ATF_REQUIRE(pl.pl_flags & PL_FLAG_SI); in ATF_TC_BODY()
1901 ATF_REQUIRE(pl.pl_flags & PL_FLAG_SCE); in ATF_TC_BODY()
2670 ATF_REQUIRE(pl.pl_flags & PL_FLAG_SI); in ATF_TC_BODY()
2819 ATF_REQUIRE(pl.pl_flags & PL_FLAG_SI); in ATF_TC_BODY()
3386 ATF_REQUIRE(pl.pl_flags & PL_FLAG_SI); in ATF_TC_BODY()
3553 ATF_REQUIRE(pl.pl_flags & PL_FLAG_SI); in ATF_TC_BODY()
3566 ATF_REQUIRE(pl.pl_flags & PL_FLAG_SI); in ATF_TC_BODY()
3579 ATF_REQUIRE(pl.pl_flags & PL_FLAG_SI); in ATF_TC_BODY()
3837 if (pl.pl_flags & PL_FLAG_EXITED) { in ATF_TC_BODY()
[all …]
/freebsd-13.1/usr.bin/truss/
H A Dsetup.c332 if (pl.pl_flags & PL_FLAG_SCE) { in add_threads()
598 if (pl->pl_flags & PL_FLAG_EXEC) { in exit_syscall()
760 if (pl->pl_event == PL_EVENT_SIGNAL && pl->pl_flags & PL_FLAG_SI) in report_signal()
809 if (pl.pl_flags & PL_FLAG_CHILD) { in eventloop()
813 } else if (pl.pl_flags & PL_FLAG_BORN) in eventloop()
819 (pl.pl_flags & (PL_FLAG_BORN|PL_FLAG_EXITED| in eventloop()
821 if (pl.pl_flags & PL_FLAG_BORN) { in eventloop()
824 } else if (pl.pl_flags & PL_FLAG_EXITED) { in eventloop()
829 } else if (pl.pl_flags & PL_FLAG_SCE) in eventloop()
831 else if (pl.pl_flags & PL_FLAG_SCX) in eventloop()
[all …]
/freebsd-13.1/sys/sys/
H A Dpmclog.h167 uint32_t pl_flags; member
197 uint32_t pl_flags; member
232 uint32_t pl_flags; member
253 uint32_t pl_flags; member
H A Dptrace.h124 int pl_flags; /* LWP flags. */ member
150 int pl_flags; /* LWP flags. */ member
/freebsd-13.1/sys/amd64/linux/
H A Dlinux_ptrace.c155 lwpinfo.pl_flags & PL_FLAG_SCE) in linux_ptrace_status()
158 lwpinfo.pl_flags & PL_FLAG_SCX) { in linux_ptrace_status()
159 if (lwpinfo.pl_flags & PL_FLAG_EXEC) in linux_ptrace_status()
165 lwpinfo.pl_flags & PL_FLAG_EXITED) in linux_ptrace_status()
453 if ((lwpinfo.pl_flags & PL_FLAG_SI) == 0) { in linux_ptrace_getsiginfo()
485 if (lwpinfo.pl_flags & PL_FLAG_SCE) { in linux_ptrace_getregs()
554 if (lwpinfo.pl_flags & PL_FLAG_SCE) { in linux_ptrace_getregset_prstatus()
561 if (lwpinfo.pl_flags & (PL_FLAG_SCE | PL_FLAG_SCX)) { in linux_ptrace_getregset_prstatus()
635 if (lwpinfo.pl_flags & PL_FLAG_SCE) { in linux_ptrace_get_syscall_info()
655 } else if (lwpinfo.pl_flags & PL_FLAG_SCX) { in linux_ptrace_get_syscall_info()
/freebsd-13.1/lib/libproc/
H A Dproc_util.c227 (lwpinfo.pl_flags & PL_FLAG_SI) != 0) { in proc_getlwpstatus()
237 } else if (lwpinfo.pl_flags & PL_FLAG_SCE) { in proc_getlwpstatus()
239 } else if (lwpinfo.pl_flags & PL_FLAG_SCX) { in proc_getlwpstatus()
/freebsd-13.1/sys/kern/
H A Dsys_process.c1304 pl->pl_flags = 0; in kern_ptrace()
1310 pl->pl_flags |= PL_FLAG_SI; in kern_ptrace()
1315 pl->pl_flags |= PL_FLAG_SCE; in kern_ptrace()
1317 pl->pl_flags |= PL_FLAG_SCX; in kern_ptrace()
1319 pl->pl_flags |= PL_FLAG_EXEC; in kern_ptrace()
1321 pl->pl_flags |= PL_FLAG_FORKED; in kern_ptrace()
1324 pl->pl_flags |= PL_FLAG_VFORKED; in kern_ptrace()
1327 pl->pl_flags |= PL_FLAG_VFORK_DONE; in kern_ptrace()
1329 pl->pl_flags |= PL_FLAG_CHILD; in kern_ptrace()
1331 pl->pl_flags |= PL_FLAG_BORN; in kern_ptrace()
[all …]
H A Dimgact_elf.c2428 pl.pl_flags |= PL_FLAG_SI; in __elfN()
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/Process/FreeBSD/
H A DNativeProcessFreeBSD.cpp203 info.pl_lwpid, info.pl_flags); in MonitorSIGTRAP()
206 if (info.pl_flags & (PL_FLAG_BORN | PL_FLAG_EXITED)) { in MonitorSIGTRAP()
207 if (info.pl_flags & PL_FLAG_BORN) { in MonitorSIGTRAP()
241 if (info.pl_flags & PL_FLAG_EXEC) { in MonitorSIGTRAP()
268 if (info.pl_flags & PL_FLAG_FORKED) { in MonitorSIGTRAP()
270 MonitorClone(info.pl_child_pid, info.pl_flags & PL_FLAG_VFORKED, *thread); in MonitorSIGTRAP()
274 if (info.pl_flags & PL_FLAG_VFORK_DONE) { in MonitorSIGTRAP()
288 if (info.pl_flags & PL_FLAG_SI) { in MonitorSIGTRAP()
361 assert(info.pl_flags & PL_FLAG_SI); in MonitorSignal()
/freebsd-13.1/usr.bin/gcore/
H A Delf32core.c102 pld->pl_flags = pls->pl_flags; in elf_convert_lwpinfo()
/freebsd-13.1/usr.sbin/pmcstat/
H A Dpmcstat_log.c430 ev.pl_u.pl_a.pl_flags); in pmcstat_print_log()
436 ev.pl_u.pl_ad.pl_flags); in pmcstat_print_log()
458 ev.pl_u.pl_pc.pl_flags, in pmcstat_print_log()
491 ev.pl_u.pl_tc.pl_flags, in pmcstat_print_log()
/freebsd-13.1/usr.sbin/pmc/
H A Dcmd_pmc_summary.cc116 kerntidmap[ev.pl_u.pl_tc.pl_tid] = !!(ev.pl_u.pl_tc.pl_flags & P_KPROC); in pmc_summary_handler()
122 kernpidmap[ev.pl_u.pl_pc.pl_pid] = !!(ev.pl_u.pl_pc.pl_flags & P_KPROC); in pmc_summary_handler()
/freebsd-13.1/usr.bin/procstat/
H A Dprocstat_ptlwpinfo.c69 if ((pl[i].pl_flags & PL_FLAG_SI) != 0) { in procstat_ptlwpinfo()
/freebsd-13.1/lib/libthread_db/
H A Dlibthr_db.c495 if ((linfo.pl_flags & PL_FLAG_SI) != 0) in pt_thr_get_info_common()
H A Dlibpthread_db.c520 if (!(pl.pl_flags & PL_FLAG_BOUND)) in pt_dbsuspend()
/freebsd-13.1/sys/compat/freebsd32/
H A Dfreebsd32_misc.c895 pl32->pl_flags = pl->pl_flags; in ptrace_lwpinfo_to32()