OpenBSD CVS

CVS log for src/usr.sbin/btrace/btrace.8


[BACK] Up to [local] / src / usr.sbin / btrace

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.9 / (download) - annotate - [select for diffs], Fri Sep 15 10:56:46 2023 UTC (8 months, 3 weeks ago) by claudio
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, HEAD
Changes since 1.8: +9 -2 lines
Diff to previous 1.8 (colored)

Even if support for utsack is very limited, document the option needed.
OK mpi@

Revision 1.8 / (download) - annotate - [select for diffs], Thu Dec 22 19:53:24 2022 UTC (17 months, 2 weeks ago) by kn
Branch: MAIN
CVS Tags: OPENBSD_7_3_BASE, OPENBSD_7_3
Changes since 1.7: +2 -4 lines
Diff to previous 1.7 (colored)

Denote multiple arguments with 'arg ...' not 'args'

A few programs used the plural in their synopsis which doesn't read as
clear as the obvious triple-dot notation.

mdoc(7) .Ar defaults to "file ..." if no arguments are given and consistent
use of 'arg ...' matches that behaviour.

Cleanup a few markups of the same argument so the text keeps reading
naturally;  omit unhelpful parts like 'if optional arguments are given,
they are passed along' for tools like time(1) and timeout(1) that obviously
execute commands with whatever arguments where given -- just like doas(1)
which doesn't mention arguments in its DESCRIPTION in the first place.

For expr(1) the difference between 'expressions' and 'expression ...' is
crucial, as arguments must be passed as individual words.

Feedback millert jmc schwarze deraadt
OK jmc

Revision 1.7 / (download) - annotate - [select for diffs], Sun May 1 20:23:11 2022 UTC (2 years, 1 month ago) by bluhm
Branch: MAIN
CVS Tags: OPENBSD_7_2_BASE, OPENBSD_7_2
Changes since 1.6: +9 -2 lines
Diff to previous 1.6 (colored)

Install useful btrace scripts into /usr/share/btrace directory.
OK tedu@

Revision 1.6 / (download) - annotate - [select for diffs], Wed Sep 8 13:29:51 2021 UTC (2 years, 9 months ago) by dv
Branch: MAIN
CVS Tags: OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0
Changes since 1.5: +6 -5 lines
Diff to previous 1.5 (colored)

btrace(8): add initial support for cli arguments

This adds initial support for passing cli args to btrace(8) for use
in bt(5) scripts. Similar to bpftrace, they are referenced via $1,
$2, etc. with $# being the number of command line arguments provided.

Adds an initial regress test and a Makefile change to allow providing
arguments to regress tests in a .args file.

Currently no limit is imposed on the number of arguments, keeping
a similar approach as observed in bpftrace. References to undefined
arguments result in a new "nil" type that contextually acts as a
zero or empty string. More work can be done here to improve bpftrace
compatibility.

ok mpi@, jasper@

Revision 1.5 / (download) - annotate - [select for diffs], Wed Apr 21 10:22:36 2021 UTC (3 years, 1 month ago) by mpi
Branch: MAIN
Changes since 1.4: +1 -6 lines
Diff to previous 1.4 (colored)

Support first shell argument as $1 in order to use it in filters.

Remove '-p' option now that scripts can filter by pid/tid.

Revision 1.4 / (download) - annotate - [select for diffs], Sun Mar 21 06:44:24 2021 UTC (3 years, 2 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_6_9_BASE, OPENBSD_6_9
Changes since 1.3: +3 -3 lines
Diff to previous 1.3 (colored)

add -n to SYNOPSIS;

Revision 1.3 / (download) - annotate - [select for diffs], Sun Mar 21 01:24:35 2021 UTC (3 years, 2 months ago) by jmatthew
Branch: MAIN
Changes since 1.2: +5 -2 lines
Diff to previous 1.2 (colored)

Add -n (no action) mode, which just parses the program and exits.

ok mpi@ kn@

Revision 1.2 / (download) - annotate - [select for diffs], Fri Sep 11 08:16:15 2020 UTC (3 years, 8 months ago) by mpi
Branch: MAIN
CVS Tags: OPENBSD_6_8_BASE, OPENBSD_6_8
Changes since 1.1: +7 -2 lines
Diff to previous 1.1 (colored)

Support '-p' a flag to filter all actions by PID.

Revision 1.1 / (download) - annotate - [select for diffs], Tue Jan 21 16:24:55 2020 UTC (4 years, 4 months ago) by mpi
Branch: MAIN
CVS Tags: OPENBSD_6_7_BASE, OPENBSD_6_7

Import a bug tracer, companion of dt(4), that speaks the bt(5) language.

ok kettenis@, visa@, jasper@, deraadt@

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.