Home
last modified time | relevance | path

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

/freebsd-14.2/lib/libpmc/
H A Dpmclog.h87 uint32_t pl_flags; member
95 uint32_t pl_flags; member
102 uint32_t pl_flags; member
126 uint32_t pl_flags; member
156 uint32_t pl_flags; 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.c355 PMCLOG_READ32(le,ev->pl_u.pl_a.pl_flags); in pmclog_get_event()
363 if ((ev->pl_u.pl_a.pl_flags & PMC_F_EV_PMU) != 0) in pmclog_get_event()
381 PMCLOG_READ32(le,ev->pl_u.pl_ad.pl_flags); in pmclog_get_event()
427 PMCLOG_READ32(le,ev->pl_u.pl_tc.pl_flags); in pmclog_get_event()
436 PMCLOG_READ32(le,ev->pl_u.pl_pc.pl_flags); in pmclog_get_event()
/freebsd-14.2/tools/test/ptrace/
H A Dscescx.c110 flags = lwpinfo->pl_flags; in decode_pl_flags()
191 if ((lwpinfo->pl_flags & (PL_FLAG_SCE | PL_FLAG_SCX)) != 0) { in wait_info()
248 assert(lwpinfo.pl_flags & PL_FLAG_SCE); in trace_sc()
273 assert(lwpinfo.pl_flags & PL_FLAG_SCX); in trace_sc()
293 if (lwpinfo.pl_flags & PL_FLAG_EXEC) in trace_sc()
296 if (lwpinfo.pl_flags & PL_FLAG_FORKED) { in trace_sc()
333 if ((lwpinfo.pl_flags & (PL_FLAG_EXEC | PL_FLAG_SCX)) == in trace_cont()
337 if ((lwpinfo.pl_flags & (PL_FLAG_FORKED | PL_FLAG_SCX)) == in trace_cont()
/freebsd-14.2/usr.bin/truss/
H A Dsetup.c312 if (pl.pl_flags & PL_FLAG_SCE) { in add_threads()
578 if (pl->pl_flags & PL_FLAG_EXEC) { in exit_syscall()
740 if (pl->pl_event == PL_EVENT_SIGNAL && pl->pl_flags & PL_FLAG_SI) in report_signal()
789 if (pl.pl_flags & PL_FLAG_CHILD) { in eventloop()
793 } else if (pl.pl_flags & PL_FLAG_BORN) in eventloop()
799 (pl.pl_flags & (PL_FLAG_BORN|PL_FLAG_EXITED| in eventloop()
801 if (pl.pl_flags & PL_FLAG_BORN) { in eventloop()
804 } else if (pl.pl_flags & PL_FLAG_EXITED) { in eventloop()
809 } else if (pl.pl_flags & PL_FLAG_SCE) in eventloop()
811 else if (pl.pl_flags & PL_FLAG_SCX) in eventloop()
[all …]
/freebsd-14.2/tests/sys/kern/
H A Dptrace_test.c600 if (pl.pl_flags & PL_FLAG_CHILD) { in handle_fork_events()
1537 ATF_REQUIRE(pl.pl_flags & PL_FLAG_SI); in ATF_TC_BODY()
1892 ATF_REQUIRE(pl.pl_flags & PL_FLAG_SCE); in ATF_TC_BODY()
2661 ATF_REQUIRE(pl.pl_flags & PL_FLAG_SI); in ATF_TC_BODY()
2810 ATF_REQUIRE(pl.pl_flags & PL_FLAG_SI); in ATF_TC_BODY()
3448 ATF_REQUIRE(pl.pl_flags & PL_FLAG_SI); in ATF_TC_BODY()
3615 ATF_REQUIRE(pl.pl_flags & PL_FLAG_SI); in ATF_TC_BODY()
3628 ATF_REQUIRE(pl.pl_flags & PL_FLAG_SI); in ATF_TC_BODY()
3641 ATF_REQUIRE(pl.pl_flags & PL_FLAG_SI); in ATF_TC_BODY()
3899 if (pl.pl_flags & PL_FLAG_EXITED) { in ATF_TC_BODY()
[all …]
/freebsd-14.2/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()
386 if (lwpinfo.pl_flags & PL_FLAG_SCE) { in linux_ptrace_get_syscall_info()
406 } else if (lwpinfo.pl_flags & PL_FLAG_SCX) { in linux_ptrace_get_syscall_info()
/freebsd-14.2/sys/sys/
H A Dpmclog.h165 uint32_t pl_flags; member
195 uint32_t pl_flags; member
233 uint32_t pl_flags; member
254 uint32_t pl_flags; member
H A Dptrace.h126 int pl_flags; /* LWP flags. */ member
152 int pl_flags; /* LWP flags. */ member
/freebsd-14.2/lib/libproc/
H A Dproc_util.c221 (lwpinfo.pl_flags & PL_FLAG_SI) != 0) { in proc_getlwpstatus()
231 } else if (lwpinfo.pl_flags & PL_FLAG_SCE) { in proc_getlwpstatus()
233 } else if (lwpinfo.pl_flags & PL_FLAG_SCX) { in proc_getlwpstatus()
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/Process/FreeBSD/
H A DNativeProcessFreeBSD.cpp206 info.pl_lwpid, info.pl_flags); in MonitorSIGTRAP()
209 if (info.pl_flags & (PL_FLAG_BORN | PL_FLAG_EXITED)) { in MonitorSIGTRAP()
210 if (info.pl_flags & PL_FLAG_BORN) { in MonitorSIGTRAP()
244 if (info.pl_flags & PL_FLAG_EXEC) { in MonitorSIGTRAP()
272 if (info.pl_flags & PL_FLAG_FORKED) { in MonitorSIGTRAP()
274 MonitorClone(info.pl_child_pid, info.pl_flags & PL_FLAG_VFORKED, *thread); in MonitorSIGTRAP()
278 if (info.pl_flags & PL_FLAG_VFORK_DONE) { in MonitorSIGTRAP()
292 if (info.pl_flags & PL_FLAG_SI) { in MonitorSIGTRAP()
368 assert(info.pl_flags & PL_FLAG_SI); in MonitorSignal()
H A DNativeThreadFreeBSD.cpp334 if (!(info.pl_flags & PL_FLAG_SI)) in GetSiginfo()
/freebsd-14.2/sys/kern/
H A Dsys_process.c1487 pl->pl_flags = 0; in kern_ptrace()
1493 pl->pl_flags |= PL_FLAG_SI; in kern_ptrace()
1498 pl->pl_flags |= PL_FLAG_SCE; in kern_ptrace()
1500 pl->pl_flags |= PL_FLAG_SCX; in kern_ptrace()
1502 pl->pl_flags |= PL_FLAG_EXEC; in kern_ptrace()
1504 pl->pl_flags |= PL_FLAG_FORKED; in kern_ptrace()
1507 pl->pl_flags |= PL_FLAG_VFORKED; in kern_ptrace()
1510 pl->pl_flags |= PL_FLAG_VFORK_DONE; in kern_ptrace()
1512 pl->pl_flags |= PL_FLAG_CHILD; in kern_ptrace()
1514 pl->pl_flags |= PL_FLAG_BORN; in kern_ptrace()
[all …]
H A Dimgact_elf.c2379 pl.pl_flags |= PL_FLAG_SI; in __elfN()
/freebsd-14.2/usr.sbin/pmcstat/
H A Dpmcstat_log.c428 ev.pl_u.pl_a.pl_flags); in pmcstat_print_log()
434 ev.pl_u.pl_ad.pl_flags); in pmcstat_print_log()
456 ev.pl_u.pl_pc.pl_flags, in pmcstat_print_log()
490 ev.pl_u.pl_tc.pl_flags, in pmcstat_print_log()
/freebsd-14.2/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()
/freebsd-14.2/usr.bin/procstat/
H A Dprocstat_ptlwpinfo.c67 if ((pl[i].pl_flags & PL_FLAG_SI) != 0) { in procstat_ptlwpinfo()
/freebsd-14.2/sys/amd64/linux/
H A Dlinux_machdep.c314 if ((lwpinfo.pl_flags & (PL_FLAG_SCE | PL_FLAG_SCX)) != 0) { in linux_ptrace_getregs_machdep()
/freebsd-14.2/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-14.2/sys/compat/freebsd32/
H A Dfreebsd32_misc.c952 pl32->pl_flags = pl->pl_flags; in ptrace_lwpinfo_to32()