Page MenuHomeFreeBSD

br (Ruslan Bukin)
User

Projects

User Details

User Since
Nov 27 2014, 10:57 AM (470 w, 1 d)

Recent Activity

Oct 12 2023

br added inline comments to D40466: Hardware Trace (HWT) framework.
Oct 12 2023, 9:25 AM

Sep 26 2023

br updated the diff for D40477: HWT: ARM CoreSight support.

Pass ctx to backend_deinit().

Sep 26 2023, 10:31 AM
br updated the diff for D40466: Hardware Trace (HWT) framework.

Pass ctx to backend_deinit().

Sep 26 2023, 10:30 AM

Sep 25 2023

br updated the diff for D40466: Hardware Trace (HWT) framework.

rebase for freebsd

Sep 25 2023, 2:13 PM
br updated the diff for D40477: HWT: ARM CoreSight support.

rebase for freebsd

Sep 25 2023, 2:11 PM
br updated the diff for D40728: hwt(8) utility added.

rebase for freebsd

Sep 25 2023, 2:10 PM

Sep 6 2023

br added inline comments to D40466: Hardware Trace (HWT) framework.
Sep 6 2023, 3:42 PM
br updated the diff for D40466: Hardware Trace (HWT) framework.

User provides cpusetsize together with *cpuset_t.

Sep 6 2023, 3:41 PM
br updated the diff for D40466: Hardware Trace (HWT) framework.

Fix typo.

Sep 6 2023, 2:32 PM
br updated the diff for D40466: Hardware Trace (HWT) framework.

Replace most of spin locks to standard mtx. Use refcounting in some places

Sep 6 2023, 2:25 PM

Sep 4 2023

br updated the diff for D40466: Hardware Trace (HWT) framework.

change backend lock, ident set lock, ownerhash lock to standard mtx

Sep 4 2023, 2:15 PM

Aug 21 2023

br added inline comments to D40728: hwt(8) utility added.
Aug 21 2023, 11:49 AM
br updated the diff for D40728: hwt(8) utility added.

remove hwt_libxo.h as not needed

Aug 21 2023, 11:47 AM

Aug 19 2023

br updated the diff for D40466: Hardware Trace (HWT) framework.

Regenerate

Aug 19 2023, 1:14 PM
br updated the diff for D40477: HWT: ARM CoreSight support.

Regenerate

Aug 19 2023, 1:13 PM
br updated the diff for D40728: hwt(8) utility added.

obtain ETM IDR registers from sysctl. This is needed for Juno

Aug 19 2023, 1:13 PM

Aug 16 2023

br updated the diff for D40728: hwt(8) utility added.

Allow attaching to an existed proc;
Add support for libxo

Aug 16 2023, 12:00 PM

Aug 15 2023

br updated the diff for D40466: Hardware Trace (HWT) framework.

Allow attaching to an existed proc

Aug 15 2023, 3:41 PM

Aug 8 2023

br updated the test plan for D40466: Hardware Trace (HWT) framework.
Aug 8 2023, 1:23 PM
br updated the summary of D40466: Hardware Trace (HWT) framework.
Aug 8 2023, 1:22 PM
br updated the test plan for D40728: hwt(8) utility added.
Aug 8 2023, 1:21 PM
br updated the diff for D40466: Hardware Trace (HWT) framework.

Add description for CPU mode of operation into hwt.c

Aug 8 2023, 1:17 PM
br updated the diff for D40466: Hardware Trace (HWT) framework.

Fix context ID allocation, do not allocate twice and check the status of allocation

Aug 8 2023, 12:37 PM
br updated the diff for D40477: HWT: ARM CoreSight support.

regenerate

Aug 8 2023, 12:36 PM
br updated the diff for D40728: hwt(8) utility added.

cleanup

Aug 8 2023, 12:35 PM

Aug 3 2023

br removed a reviewer for D40466: Hardware Trace (HWT) framework: shurd.
Aug 3 2023, 6:35 PM
br removed reviewers for D40728: hwt(8) utility added: andrew, bdrewery, bhyve.
Aug 3 2023, 6:34 PM
br updated the diff for D40728: hwt(8) utility added.

Regenerate

Aug 3 2023, 6:33 PM
br updated the diff for D40466: Hardware Trace (HWT) framework.

Regenerate

Aug 3 2023, 6:31 PM
br updated the diff for D40466: Hardware Trace (HWT) framework.

regenerate

Aug 3 2023, 6:12 PM
br updated the diff for D40477: HWT: ARM CoreSight support.

regenerate

Aug 3 2023, 6:12 PM
br updated the diff for D40728: hwt(8) utility added.

decode multiple cpus at the same time

Aug 3 2023, 6:12 PM

Jul 31 2023

br updated the diff for D40466: Hardware Trace (HWT) framework.

Regenerate

Jul 31 2023, 11:50 AM
br updated the diff for D40477: HWT: ARM CoreSight support.

Fix tracing cpu_id > 0

Jul 31 2023, 11:50 AM
br updated the diff for D40728: hwt(8) utility added.

Add -R (fs_root) flag.

Jul 31 2023, 11:49 AM

Jul 30 2023

br updated the diff for D40466: Hardware Trace (HWT) framework.

hwt kernel module added

Jul 30 2023, 10:16 PM
br updated the diff for D40477: HWT: ARM CoreSight support.

ability to build as a module

Jul 30 2023, 10:15 PM

Jul 26 2023

br updated the diff for D40466: Hardware Trace (HWT) framework.

Code cleanup. Implement some TODOs

Jul 26 2023, 2:48 PM
br updated the diff for D40477: HWT: ARM CoreSight support.

Regenerate

Jul 26 2023, 2:47 PM
br updated the diff for D40728: hwt(8) utility added.

format flag added

Jul 26 2023, 2:47 PM

Jul 24 2023

br updated the diff for D40466: Hardware Trace (HWT) framework.

Allow tracing multiple cpus in CPU(system) mode

Jul 24 2023, 9:44 PM
br updated the diff for D40477: HWT: ARM CoreSight support.

allow tracing multiple cpus in system mode

Jul 24 2023, 9:43 PM
br updated the diff for D40728: hwt(8) utility added.

allow tracing multiple cpus in system mode

Jul 24 2023, 9:42 PM
br updated the diff for D40466: Hardware Trace (HWT) framework.

Remove cheribsd-specific "size" member from hwt_record as not needed

Jul 24 2023, 6:18 PM
br added inline comments to D40466: Hardware Trace (HWT) framework.
Jul 24 2023, 6:18 PM

Jul 19 2023

br updated the diff for D40466: Hardware Trace (HWT) framework.

Kernel-mode tracing support added.

Jul 19 2023, 3:21 PM
br updated the diff for D40477: HWT: ARM CoreSight support.

Kernel-mode tracing support added.

Jul 19 2023, 3:20 PM
br updated the diff for D40728: hwt(8) utility added.

Add kernel-mode tracing support.

Jul 19 2023, 3:19 PM

Jul 12 2023

br updated the diff for D40466: Hardware Trace (HWT) framework.

Initial work on cpu/system mode of operation

Jul 12 2023, 1:19 PM
br updated the diff for D40477: HWT: ARM CoreSight support.

hwt_backend interface changed

Jul 12 2023, 1:19 PM
br updated the diff for D40728: hwt(8) utility added.

usage() added

Jul 12 2023, 1:18 PM

Jul 10 2023

br updated the diff for D40728: hwt(8) utility added.

Abstract tracing devices

Jul 10 2023, 12:15 PM
br updated the diff for D40477: HWT: ARM CoreSight support.

regenerate

Jul 10 2023, 12:15 PM
br updated the diff for D40466: Hardware Trace (HWT) framework.

regenerate

Jul 10 2023, 12:15 PM

Jul 5 2023

br updated the diff for D40466: Hardware Trace (HWT) framework.

suspend specific thread on mmap, not entire proc

Jul 5 2023, 2:44 PM
br updated the diff for D40728: hwt(8) utility added.

suspend a single thread on mmap, not entire proc

Jul 5 2023, 2:44 PM
br updated the diff for D40466: Hardware Trace (HWT) framework.

ip range filtering (draft) added

Jul 5 2023, 10:58 AM
br updated the diff for D40477: HWT: ARM CoreSight support.

coresight_setup() method added

Jul 5 2023, 10:57 AM
br updated the diff for D40728: hwt(8) utility added.

ip range filtering added

Jul 5 2023, 10:56 AM

Jun 28 2023

br updated the diff for D40728: hwt(8) utility added.

Regenerate

Jun 28 2023, 3:04 PM
br added a comment to D40466: Hardware Trace (HWT) framework.

This looks like a kernel with HWT_HOOKS but not HWT wouldn't link as, for example, hwt_switch_in will be missing. HWPMC handles this by adding a function pointer and protects it with an epoch.

I added this functionality. I am not sure if epoch is needed. PMC have several macroses for hook invocation, only some of them require epoch.

Jun 28 2023, 10:38 AM
br updated the diff for D40477: HWT: ARM CoreSight support.

Make coresight optional. Depends on hwt

Jun 28 2023, 10:35 AM
br updated the diff for D40466: Hardware Trace (HWT) framework.

Move changes related to coresight to another review

Jun 28 2023, 10:35 AM
br updated the diff for D40466: Hardware Trace (HWT) framework.

Move hwt files to conf/files.

Jun 28 2023, 10:32 AM
br updated the diff for D40728: hwt(8) utility added.

Add '-t' argument allowing to specify thread index we want to read trace for.

Jun 28 2023, 10:18 AM

Jun 27 2023

br updated the diff for D40466: Hardware Trace (HWT) framework.

Add short overview and context lifecycle.

Jun 27 2023, 2:32 PM
br updated the diff for D40466: Hardware Trace (HWT) framework.

Add hwt_hook variable and HWT_CALL_HOOK macro

Jun 27 2023, 1:31 PM
br updated the diff for D40466: Hardware Trace (HWT) framework.

Add hwt_hook variable and HWT_CALL_HOOK macro

Jun 27 2023, 1:27 PM
br updated the diff for D40466: Hardware Trace (HWT) framework.

Remove mtx_threads and mtx_records. Use mtx of entire context

Jun 27 2023, 9:13 AM

Jun 26 2023

br updated the diff for D40466: Hardware Trace (HWT) framework.

Split out ownerhash/contexthash code to a separate files.

Jun 26 2023, 2:09 PM
br updated the diff for D40466: Hardware Trace (HWT) framework.

Split out ioctl code to a separate file.

Jun 26 2023, 1:19 PM
br updated the diff for D40466: Hardware Trace (HWT) framework.

Return ctx locked in hwt_ctx_lookup_contexthash().

Jun 26 2023, 12:03 PM

Jun 24 2023

br updated the diff for D40477: HWT: ARM CoreSight support.

Regenerate

Jun 24 2023, 11:29 AM
br updated the diff for D40466: Hardware Trace (HWT) framework.

Split out thread/backend/owner/context code to separate files.

Jun 24 2023, 11:29 AM

Jun 23 2023

br retitled D40466: Hardware Trace (HWT) framework from Hardware Trace (HWT) framework draft to New Hardware Trace (HWT) framework.
Jun 23 2023, 6:59 PM
br requested review of D40728: hwt(8) utility added.
Jun 23 2023, 6:56 PM
br updated the diff for D40477: HWT: ARM CoreSight support.

morello-dts included for test

Jun 23 2023, 6:50 PM
br updated the diff for D40466: Hardware Trace (HWT) framework.

Move user-visible headers to sys

Jun 23 2023, 6:50 PM
br updated the diff for D40477: HWT: ARM CoreSight support.

Interface to HWT changed

Jun 23 2023, 8:26 AM
br updated the diff for D40466: Hardware Trace (HWT) framework.

Multi-thread tracing works

Jun 23 2023, 8:07 AM

Jun 20 2023

br updated the diff for D40466: Hardware Trace (HWT) framework.

o Fix M_HWT declaration
o Remove mtx lock around backend ops as not needed
o Change mtx_records lock type to default

Jun 20 2023, 3:20 PM
br updated the diff for D40477: HWT: ARM CoreSight support.

clean up

Jun 20 2023, 2:11 PM
br updated the diff for D40466: Hardware Trace (HWT) framework.

Rename hwt_event_*() to hwt_backend_*()

Jun 20 2023, 2:10 PM

Jun 19 2023

br updated the diff for D40466: Hardware Trace (HWT) framework.

Split out ioc_alloc func

Jun 19 2023, 3:21 PM
br updated the diff for D40466: Hardware Trace (HWT) framework.

remove cpu_id field from ioctl interface

Jun 19 2023, 9:46 AM
br updated the diff for D40466: Hardware Trace (HWT) framework.

trace buffers per each thread implemented

Jun 19 2023, 9:44 AM

Jun 13 2023

br updated the diff for D40466: Hardware Trace (HWT) framework.

Add hwt_priv_check() to ensure a user has permissions to trace target process

Jun 13 2023, 7:08 PM

Jun 12 2023

br added inline comments to D40466: Hardware Trace (HWT) framework.
Jun 12 2023, 7:19 PM
br updated the diff for D40477: HWT: ARM CoreSight support.

Provide the name of backend needed for registration in HWT framework.

Jun 12 2023, 2:59 PM
br updated the diff for D40466: Hardware Trace (HWT) framework.

o Allow registration of multiple CPU trace backends. Could be useful on ARM64 to have both Coresight and SPE. One per each context, so multiple backends could be used simultaneously.
o Remove hwt_softc as there is no plan to use multiple instances of HWT.

Jun 12 2023, 2:57 PM

Jun 9 2023

br retitled D40466: Hardware Trace (HWT) framework from HWT draft to Hardware Trace (HWT) framework draft.
Jun 9 2023, 3:15 PM
br updated the diff for D40477: HWT: ARM CoreSight support.

Fix comment.

Jun 9 2023, 3:15 PM
br updated the diff for D40477: HWT: ARM CoreSight support.

Wrap long lines.

Jun 9 2023, 3:14 PM
br updated the diff for D40466: Hardware Trace (HWT) framework.

Include changes to sys/proc.h

Jun 9 2023, 3:10 PM
br updated the diff for D40477: HWT: ARM CoreSight support.

Add CORESIGHT_DEBUG macro.

Jun 9 2023, 3:08 PM
br requested review of D40477: HWT: ARM CoreSight support.
Jun 9 2023, 3:06 PM
br updated the diff for D40466: Hardware Trace (HWT) framework.

o Remove remove unneeded headers, cdef.h and FBSDID

Jun 9 2023, 1:04 PM
br updated the diff for D40466: Hardware Trace (HWT) framework.

o Allow user to pass trace buffer size he wants per each HWT context
o Remove 'All rights reserved'
o Expand HWT acronym in conf/options

Jun 9 2023, 11:43 AM

Jun 7 2023

br updated the diff for D40466: Hardware Trace (HWT) framework.

remove debug printfs

Jun 7 2023, 3:08 PM
br requested review of D40466: Hardware Trace (HWT) framework.
Jun 7 2023, 3:02 PM