OpenBSD CVS

CVS log for src/usr.bin/ktrace/ltrace.1


[BACK] Up to [local] / src / usr.bin / ktrace

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.11 / (download) - annotate - [select for diffs], Sat Sep 30 13:03:40 2023 UTC (7 months, 2 weeks ago) by naddy
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, HEAD
Changes since 1.10: +3 -2 lines
Diff to previous 1.10 (colored)

list tracepoints directly in kdump.1 instead of pointing to ktrace.1

Also add a note to the respective section in kdump.1, ktrace.1, and
ltrace.1 to keep in sync with each other; suggested by schwarze@.

ok deraadt@ schwarze@

Revision 1.10 / (download) - annotate - [select for diffs], Mon Jul 18 09:36:50 2016 UTC (7 years, 10 months ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6, OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2, OPENBSD_6_1_BASE, OPENBSD_6_1, OPENBSD_6_0_BASE, OPENBSD_6_0
Changes since 1.9: +9 -12 lines
Diff to previous 1.9 (colored)

Add 'p' trace point for KTRFAC_PLEDGE, as noted by
Michal Mazurek <akfaew@jasminek.net>

While here, fix handling of -t+ in ltrace.

Revision 1.9 / (download) - annotate - [select for diffs], Sun Mar 6 20:25:27 2016 UTC (8 years, 2 months ago) by guenther
Branch: MAIN
Changes since 1.8: +10 -6 lines
Diff to previous 1.8 (colored)

No more compat emulations, so remove ktrace EMUL records and the baggage
for generating and parsing them.

ok mpi@ naddy@ millert@ deraadt@

Revision 1.8 / (download) - annotate - [select for diffs], Mon Sep 7 18:17:10 2015 UTC (8 years, 8 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.7: +3 -2 lines
Diff to previous 1.7 (colored)

put back an El macro, wrongly zapped in previous;

Revision 1.7 / (download) - annotate - [select for diffs], Mon Sep 7 15:38:45 2015 UTC (8 years, 8 months ago) by guenther
Branch: MAIN
Changes since 1.6: +2 -6 lines
Diff to previous 1.6 (colored)

Delete ktracing of context switches: it's unused, and not particularly useful,
and doing VOP_WRITE() from inside tsleep/msleep makes the locking too
complicated, making it harder to move forward on MP changes.

ok deraadt@ kettenis@

Revision 1.6 / (download) - annotate - [select for diffs], Fri Mar 13 19:58:41 2015 UTC (9 years, 2 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8
Changes since 1.5: +3 -3 lines
Diff to previous 1.5 (colored)

remove the first comma from constructs like ", and," and ", or,": you can use
"and" and "or" to join sentence clauses, and you can use commas, but both hinders
reading;

Revision 1.5 / (download) - annotate - [select for diffs], Fri Apr 4 21:34:47 2014 UTC (10 years, 1 month ago) by miod
Branch: MAIN
CVS Tags: OPENBSD_5_7_BASE, OPENBSD_5_7, OPENBSD_5_6_BASE, OPENBSD_5_6
Changes since 1.4: +46 -2 lines
Diff to previous 1.4 (colored)

Add the -t ktrace(1) option to ltrace(1), so that you can trigger both
library function call trace and other kernel events trace at the same time.

Suggested by kurt@ a long time ago, I have been sitting on this diff for no
good reason.

Revision 1.4 / (download) - annotate - [select for diffs], Thu Sep 12 09:27:27 2013 UTC (10 years, 8 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_5_5_BASE, OPENBSD_5_5
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

remove some redundancy within a sentence, and describe "!" as an
exclamation mark rather than a bang;

From: Ross L Richardson

Revision 1.3 / (download) - annotate - [select for diffs], Sun Jun 2 16:39:05 2013 UTC (10 years, 11 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_5_4_BASE, OPENBSD_5_4
Changes since 1.2: +3 -3 lines
Diff to previous 1.2 (colored)

Pq -> Qq, as confirmed by miod;

Revision 1.2 / (download) - annotate - [select for diffs], Sun Jun 2 14:44:34 2013 UTC (10 years, 11 months ago) by jmc
Branch: MAIN
Changes since 1.1: +14 -11 lines
Diff to previous 1.1 (colored)

tweak previous; ok miod

Revision 1.1 / (download) - annotate - [select for diffs], Sat Jun 1 09:57:58 2013 UTC (10 years, 11 months ago) by miod
Branch: MAIN

Introduce ltrace(1). This tool works with ld.so to inject utrace record for
each plt call, allowing to trace a binary linked against shared library at the
public function call level.

To do so, ltrace(1) sets up some environment variables to enable plt tracing
in ld.so, and invokes ktrace(2) for utrace events. ld.so will force lazy
binding and will send an utrace record in the plt resolver, without updating
the plt.

Minimal filtering capabilities are provided, inspired by Solaris' truss -u,
to limit tracing to libraries and/or symbol names. Non-traced libraries and
symbols will have the regular resolver processing, with the expected plt
update.

"Get it in" 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.