freebsd-nq/sys/sys
Matt Macy f992dd4b5c pmc: convert native to jsonl and track TSC value of samples
- add '-j' options to filter to enable converting native pmc
  log format to json lines format to enable the use of scripts
  and external tooling

% pmc filter -j pmc.log pmc.jsonl

- Record the tsc value in sampling interrupts as opposed to
  recording nanotime when the sample is copied to a global log
  in hardclock - potentially many milliseconds later.

- At initialize record the tsc_freq and the time of day to give
  us an offset for translating the tsc values in callchain records
2018-06-07 02:03:22 +00:00
..
disk gpart: add fat32lba MBR partition type 2018-05-04 00:34:27 +00:00
_bitset.h Implement several enhancements to NUMA policies. 2018-03-29 02:54:50 +00:00
_bus_dma.h
_callout.h
_cpuset.h
_domainset.h
_ffcounter.h
_iovec.h
_kstack_cache.h
_lock.h
_lockmgr.h
_mutex.h
_null.h
_pctrie.h
_pthreadtypes.h
_rmlock.h
_rwlock.h
_semaphore.h
_sigset.h
_sockaddr_storage.h
_stack.h
_stdarg.h With the fall-back hack for lint gone, I have no copyright claim on this file. 2018-05-06 21:22:46 +00:00
_stdint.h
_sx.h
_task.h
_termios.h
_timespec.h
_timeval.h
_types.h
_ucontext.h
_uio.h Move uio enums to sys/_uio.h. 2018-03-27 15:20:03 +00:00
_umtx.h
_unrhdr.h
aac_ioctl.h Fix FSACTL_GET_NEXT_ADAPTER_FIB under 32-bit compat. 2018-03-14 21:11:41 +00:00
acct.h
acl.h
agpio.h
aio.h
alq.h
apm.h
assym.h
ata.h
atomic_common.h
auxv.h
bio.h
bitset.h
bitstring.h
blist.h
boot.h
buf_ring.h Unhook DEBUG_BUFRING from INVARIANTS 2018-05-15 23:55:38 +00:00
buf.h Detect and optimize reads from the hole on UFS. 2018-05-13 09:47:28 +00:00
bufobj.h
bus_dma_internal.h
bus_dma.h
bus.h Make the data returned by devinfo harder to overflow. 2018-05-31 02:57:58 +00:00
busdma_bufalloc.h
callout.h
capability.h
caprights.h
capsicum.h kern_sendit: use pre-initialized rights 2018-05-23 01:48:09 +00:00
cdefs.h Drop support for lint for cdefs.h. 2018-03-20 21:18:40 +00:00
cdio.h
cdrio.h
cfictl.h
chio.h
ck.h ck: simplify interface with libkvm consumers by defining ck_queue types 2018-05-21 01:53:23 +00:00
clock.h
cnv.h
compressor.h
condvar.h
conf.h Refactor some of the MI kernel dump code in preparation for netdump. 2018-05-06 00:22:38 +00:00
cons.h add support for console resuming, implement it for uart, use on x86 2018-05-29 16:16:24 +00:00
consio.h
copyright.h
counter.h
cpu.h
cpuctl.h
cpuset.h Implement several enhancements to NUMA policies. 2018-03-29 02:54:50 +00:00
ctype.h
devicestat.h
devmap.h
dir.h
dirent.h
disk_zone.h
disk.h
disklabel.h
diskmbr.h
dkstat.h
dnv.h
domain.h
domainset.h Implement several enhancements to NUMA policies. 2018-03-29 02:54:50 +00:00
dtrace_bsd.h
dvdio.h
efi.h
efiio.h
elf32.h
elf64.h
elf_common.h Included VSX registers in powerpc core dumps 2018-06-02 20:28:58 +00:00
elf_generic.h
elf.h
endian.h
epoch.h epoch(9): make epoch closer to style(9) 2018-05-30 03:39:57 +00:00
errno.h
eui64.h
event.h
eventhandler.h
eventvar.h
exec.h
extattr.h
fail.h
fbio.h
fcntl.h
fdcio.h
file.h
filedesc.h Properly do a deep copy of the ioctls capability array for fget_cap(). 2018-04-17 18:07:40 +00:00
filio.h
firmware.h
fnv_hash.h
gmon.h
gpio.h
gpt.h
gtaskqueue.h iflib: mark irq allocation name parameter as constant 2018-05-29 21:56:39 +00:00
hash.h
hhook.h
iconv.h
imgact_aout.h
imgact_binmisc.h
imgact_elf.h Avoid two suword() calls per auxarg entry. 2018-05-24 16:25:18 +00:00
imgact.h Simplify the code to allocate stack for auxv, argv[], and environment vectors. 2018-04-19 16:00:34 +00:00
inflate.h
interrupt.h
intr.h
ioccom.h Add _IOC_NEWLEN() and _IOC_NEWTYPE() macros. 2018-03-16 22:23:04 +00:00
ioctl_compat.h
ioctl.h
iov_schema.h
iov.h
ipc.h
ipmi.h
jail.h Make it easier for filesystems to count themselves as jail-enabled, 2018-05-04 20:54:27 +00:00
joystick.h
kbio.h
kdb.h set kdb_why to "trap" when calling kdb_trap from trap_fatal 2018-04-19 05:06:56 +00:00
kenv.h
kern_prefetch.h Minor style nits 2018-05-09 14:11:35 +00:00
kernel.h Move sysinit and sysuninit linker sets in the data (writeable) section. 2018-03-21 10:26:39 +00:00
kerneldump.h
khelp.h
kobj.h
ksem.h
kthread.h
ktr_class.h Drop KTR_CONTENTION. 2018-03-20 15:51:05 +00:00
ktr.h
ktrace.h Reduce overhead of ktrace checks in the common case. 2018-05-09 00:00:47 +00:00
libkern.h Use __builtin for various mem* and b* (e.g. bzero) routines. 2018-06-02 18:03:35 +00:00
limits.h
link_aout.h
link_elf.h
linker_set.h Move sysinit and sysuninit linker sets in the data (writeable) section. 2018-03-21 10:26:39 +00:00
linker.h Implement support for ifuncs in the kernel linker. 2018-05-03 21:37:46 +00:00
lock_profile.h
lock.h Start witness much earlier in boot so that we can shrink the pend list and 2018-03-22 19:11:43 +00:00
lockf.h
lockmgr.h
lockstat.h lockstat: track lockstat just like sdt probes 2018-04-24 01:04:10 +00:00
loginclass.h
mac.h
malloc.h malloc: elaborate on r334545 due to frequent questions 2018-06-06 05:08:05 +00:00
mbuf.h Add an mbuf allocator for netdump. 2018-05-06 00:19:48 +00:00
mchain.h
md4.h
md5.h
mdioctl.h
memdesc.h
memrange.h
mman.h
module_khelp.h
module.h Fix minor whitespace nits 2018-04-04 02:35:48 +00:00
mount.h Make it easier for filesystems to count themselves as jail-enabled, 2018-05-04 20:54:27 +00:00
mouse.h
mpt_ioctl.h
mqueue.h
msg.h
msgbuf.h
mtio.h
mutex.h
namei.h Move uio enums to sys/_uio.h. 2018-03-27 15:20:03 +00:00
nlist_aout.h
numa.h
nv.h
osd.h
param.h Update FreeBSD_version to reflect removal of in-kernel pmc tables for Intel 2018-06-01 00:49:20 +00:00
pciio.h
pcpu.h
pctrie.h
pidctrl.h
pioctl.h
pipe.h
pmc.h pmc: convert native to jsonl and track TSC value of samples 2018-06-07 02:03:22 +00:00
pmckern.h hwpmc: log name->pid, name->tid mappings 2018-06-05 04:26:40 +00:00
pmclog.h pmc: convert native to jsonl and track TSC value of samples 2018-06-07 02:03:22 +00:00
poll.h
posix4.h
power.h
priority.h
priv.h Allow to specify PCP on packets not belonging to any VLAN. 2018-03-27 15:29:32 +00:00
proc.h hwpmc: support sampling both kernel and user stacks when interrupted in kernel 2018-06-04 01:10:23 +00:00
procctl.h Rename PROC_PDEATHSIG_SET -> PROC_PDEATHSIG_CTL and PROC_PDEATHSIG_GET 2018-04-20 15:19:27 +00:00
procdesc.h
procfs.h
protosw.h
ptio.h
ptrace.h
queue.h
racct.h
random.h Reduce overhead of entropy collection 2018-05-31 21:53:07 +00:00
rangelock.h
rctl.h
reboot.h
refcount.h ZFS vn_rele_async: catch up with the use of refcount(9) for the vnode use count 2018-03-28 08:55:31 +00:00
regression.h
resource.h
resourcevar.h Remove the unused fuwintr() and suiwintr() functions. 2018-04-17 18:04:28 +00:00
rman.h
rmlock.h
rtprio.h
runq.h
rwlock.h
sbuf.h
sched.h Inlined sched_userret. 2018-05-07 23:36:16 +00:00
sdt.h
select.h
selinfo.h
sem.h
sema.h
seq.h seq: provide a comment explaining what seq is for and note 2 caveats 2018-03-28 04:38:45 +00:00
serial.h
sf_buf.h
sglist.h
shm.h
sigio.h
signal.h
signalvar.h
sleepqueue.h
slicer.h
smp.h
snoop.h
sockbuf.h
socket.h Load balance sockets with new SO_REUSEPORT_LB option. 2018-06-06 15:45:57 +00:00
socketvar.h Load balance sockets with new SO_REUSEPORT_LB option. 2018-06-06 15:45:57 +00:00
sockio.h Allow to specify PCP on packets not belonging to any VLAN. 2018-03-27 15:29:32 +00:00
sockopt.h
soundcard.h
spigenio.h Add the ioctl definitions for spigen get/set spi mode. Should have been 2018-04-07 20:53:34 +00:00
stack.h
stat.h
statvfs.h
stdatomic.h
stddef.h
stdint.h
sun_disklabel.h
sx.h sx: port over writer starvation prevention measures from rwlock 2018-05-22 07:20:22 +00:00
syscall.h Regen after r334223: make vadvise compat freebsd11. 2018-05-25 20:41:26 +00:00
syscall.mk Regen after r334223: make vadvise compat freebsd11. 2018-05-25 20:41:26 +00:00
syscallsubr.h Move uio enums to sys/_uio.h. 2018-03-27 15:20:03 +00:00
sysctl.h Reduce <sys/queue.h> pollution. 2018-05-11 00:01:43 +00:00
sysent.h Avoid calls to syscall_thread_enter/exit for statically defined syscalls 2018-05-07 22:29:32 +00:00
syslimits.h
syslog.h
sysproto.h Regen after r334223: make vadvise compat freebsd11. 2018-05-25 20:41:26 +00:00
systm.h Use __builtin for various mem* and b* (e.g. bzero) routines. 2018-06-02 18:03:35 +00:00
taskqueue.h
terminal.h teken, vt(4): New callbacks to lock the terminal once 2018-05-16 09:01:02 +00:00
termios.h
thr.h
tiio.h
time.h
timeb.h
timeet.h
timeffc.h
timepps.h
timers.h
times.h
timespec.h
timetc.h
timex.h
tree.h
tslog.h
tty.h
ttycom.h
ttydefaults.h
ttydevsw.h
ttydisc.h
ttyhook.h
ttyqueue.h
turnstile.h Remove an unused argument to turnstile_unpend. 2018-06-02 22:37:53 +00:00
types.h
ucontext.h
ucred.h
uio.h Move uio enums to sys/_uio.h. 2018-03-27 15:20:03 +00:00
umtx.h
un.h
unistd.h
unpcb.h AF_UNIX: make unix socket locking finer grained 2018-05-17 17:59:35 +00:00
user.h
utsname.h
uuid.h
vdso.h
vmem.h
vmmeter.h vm: move vm_cnt to __read_mostly now that it is not written to 2018-04-27 05:36:02 +00:00
vnode.h
vtoc.h
wait.h
watchdog.h
zlib.h
zutil.h Use __builtin for various mem* and b* (e.g. bzero) routines. 2018-06-02 18:03:35 +00:00