Home
last modified time | relevance | path

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

/freebsd/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.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/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/tests/sys/kern/
H A Dptrace_test.c595 ATF_REQUIRE((pl.pl_flags & (PL_FLAG_FORKED | PL_FLAG_CHILD)) != in handle_fork_events()
597 ATF_REQUIRE((pl.pl_flags & (PL_FLAG_FORKED | PL_FLAG_CHILD)) != in handle_fork_events()
599 if (pl.pl_flags & PL_FLAG_CHILD) { in handle_fork_events()
1132 ATF_REQUIRE((pl[0].pl_flags & PL_FLAG_SCX) != 0); in ATF_TC_BODY()
1133 ATF_REQUIRE((pl[1].pl_flags & PL_FLAG_SCX) != 0); in ATF_TC_BODY()
1195 ATF_REQUIRE((pl[0].pl_flags & PL_FLAG_SCX) != 0); in ATF_TC_BODY()
1196 ATF_REQUIRE((pl[1].pl_flags & PL_FLAG_SCX) != 0); in ATF_TC_BODY()
1289 ATF_REQUIRE((pl.pl_flags & PL_FLAG_SCX) != 0); in ATF_TC_BODY()
1357 REQUIRE_EQ((pl.pl_flags & (PL_FLAG_BORN | PL_FLAG_SCX)), in ATF_TC_BODY()
1371 REQUIRE_EQ((pl.pl_flags & (PL_FLAG_EXITED | PL_FLAG_SCE)), in ATF_TC_BODY()
[all …]
/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()
386 if (lwpinfo.pl_flags & PL_FLAG_SCE) { in linux_ptrace_get_syscall_info()
396 } else if (lwpinfo.pl_flags & PL_FLAG_SCX) { in linux_ptrace_get_syscall_info()
/freebsd/sys/sys/
H A Dpmclog.h179 uint32_t pl_flags; member
209 uint32_t pl_flags; member
247 uint32_t pl_flags; member
268 uint32_t pl_flags; member
H A Dptrace.h132 int pl_flags; /* LWP flags. */ member
158 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/kern/
H A Dsys_process.c1565 pl->pl_flags = 0; in kern_ptrace()
1571 pl->pl_flags |= PL_FLAG_SI; in kern_ptrace()
1576 pl->pl_flags |= PL_FLAG_SCE; in kern_ptrace()
1578 pl->pl_flags |= PL_FLAG_SCX; in kern_ptrace()
1580 pl->pl_flags |= PL_FLAG_EXEC; in kern_ptrace()
1582 pl->pl_flags |= PL_FLAG_FORKED; in kern_ptrace()
1585 pl->pl_flags |= PL_FLAG_VFORKED; in kern_ptrace()
1588 pl->pl_flags |= PL_FLAG_VFORK_DONE; in kern_ptrace()
1590 pl->pl_flags |= PL_FLAG_CHILD; in kern_ptrace()
1592 pl->pl_flags |= PL_FLAG_BORN; in kern_ptrace()
[all …]
H A Dimgact_elf.c2406 pl.pl_flags |= PL_FLAG_SI; in __elfN()
/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/usr.sbin/pmcstat/
H A Dpmcstat_log.c528 ev.pl_u.pl_a.pl_flags); in pmcstat_print_log()
534 ev.pl_u.pl_ad.pl_flags); in pmcstat_print_log()
556 ev.pl_u.pl_pc.pl_flags, in pmcstat_print_log()
590 ev.pl_u.pl_tc.pl_flags, in pmcstat_print_log()
/freebsd/usr.sbin/pmc/
H A Dcmd_pmc_summary.cc113 kerntidmap[ev.pl_u.pl_tc.pl_tid] = !!(ev.pl_u.pl_tc.pl_flags & P_KPROC); in pmc_summary_handler()
119 kernpidmap[ev.pl_u.pl_pc.pl_pid] = !!(ev.pl_u.pl_pc.pl_flags & P_KPROC); in pmc_summary_handler()
/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.c314 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.c991 pl32->pl_flags = pl->pl_flags; in ptrace_lwpinfo_to32()