CVS log for src/usr.sbin/tprof/tprof_analyze.c
Up to [cvs.NetBSD.org] / src / usr.sbin / tprof
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.9: download - view: text, markup, annotated - select for diffs
Sun Nov 3 10:43:27 2024 UTC (5 weeks, 3 days ago) by rillig
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +2 -4
lines
sbin, usr.bin, usr.sbin: remove redundant getopt declarations
No binary change, except for assertion line numbers in tprof.
Revision 1.3.6.1: download - view: text, markup, annotated - select for diffs
Tue Aug 1 17:34:32 2023 UTC (16 months, 1 week ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-4-RELEASE
Diff to: previous 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3: +3 -3
lines
Pull up the following revisions, requested by msaitoh in ticket #1697:
usr.sbin/tprof/tprof.8 1.16,1.22,1.25,1.29 via patch
usr.sbin/tprof/tprof_analyze.c 1.4
usr.sbin/tprof/arch/tprof_x86.c 1.13-1.19
sys/dev/tprof/tprof.c 1.23 via patch
sys/dev/tprof/tprof_x86_amd.c 1.7-1.8 via patch
sys/dev/tprof/tprof_x86_intel.c 1.8 via patch
- Add AMD family 19h (zen3 and zen4) support.
- Add Intel Comet Lake support.
- Add support for Intel Skylake-X and Cascade Lake.
- Print the path that we failed to open on error.
- Use lowercase consistently for hexadecimal numbers.
- KNF
Revision 1.8: download - view: text, markup, annotated - select for diffs
Thu Dec 1 00:43:27 2022 UTC (2 years ago) by ryo
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs,
netbsd-10-base,
netbsd-10-0-RELEASE,
netbsd-10-0-RC6,
netbsd-10-0-RC5,
netbsd-10-0-RC4,
netbsd-10-0-RC3,
netbsd-10-0-RC2,
netbsd-10-0-RC1,
netbsd-10
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +5 -5
lines
add "top" subcommand to tprof(8)
Revision 1.7: download - view: text, markup, annotated - select for diffs
Thu Dec 1 00:41:10 2022 UTC (2 years ago) by ryo
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +3 -145
lines
split ksyms stuff into ksyms.[ch]
Revision 1.6: download - view: text, markup, annotated - select for diffs
Thu Dec 1 00:32:52 2022 UTC (2 years ago) by ryo
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +35 -9
lines
Improve tprof(4)
- Multiple events can now be handled simultaneously.
- Counters should be configured with TPROF_IOC_CONFIGURE_EVENT in advance,
instead of being configured at TPROF_IOC_START.
- The configured counters can be started and stopped repeatedly by
PROF_IOC_START/TPROF_IOC_STOP.
- The value of the performance counter can be obtained at any timing as a 64bit
value with TPROF_IOC_GETCOUNTS.
- Backend common parts are handled in tprof.c as much as possible, and functions
on the tprof_backend side have been reimplemented to be more primitive.
- The reset value of counter overflows for profiling can now be adjusted.
It is calculated by default from the CPU clock (speed of cycle counter) and
TPROF_HZ, but for some events the value may be too large to be sufficient for
profiling. The event counter can be specified as a ratio to the default or as
an absolute value when configuring the event counter.
- Due to overall changes, API and ABI have been changed. TPROF_VERSION and
TPROF_BACKEND_VERSION were updated.
Revision 1.5: download - view: text, markup, annotated - select for diffs
Thu Oct 14 09:52:40 2021 UTC (3 years, 1 month ago) by skrll
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +5 -5
lines
Output alignement - give lwp 6 characters
Revision 1.4: download - view: text, markup, annotated - select for diffs
Sat Jan 30 11:46:25 2021 UTC (3 years, 10 months ago) by jmcneill
Branches: MAIN
CVS tags: cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +3 -3
lines
Print the path that we failed to open on error
Revision 1.3.4.2: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:10:43 2019 UTC (5 years, 6 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.3.4.1: preferred, colored; branchpoint 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3.4.1: +459 -0
lines
Sync with HEAD
Revision 1.3.2.2: download - view: text, markup, annotated - select for diffs
Sat Jul 28 04:38:15 2018 UTC (6 years, 4 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.3.2.1: preferred, colored; branchpoint 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3.2.1: +459 -0
lines
Sync with HEAD
Revision 1.3.4.1
Sat Jul 14 07:54:04 2018 UTC (6 years, 5 months ago) by christos
Branches: phil-wifi
FILE REMOVED
Changes since revision 1.3: +0 -459
lines
file tprof_analyze.c was added on branch phil-wifi on 2019-06-10 22:10:43 +0000
Revision 1.3.2.1
Sat Jul 14 07:54:04 2018 UTC (6 years, 5 months ago) by pgoyette
Branches: pgoyette-compat
FILE REMOVED
Changes since revision 1.3: +0 -459
lines
file tprof_analyze.c was added on branch pgoyette-compat on 2018-07-28 04:38:15 +0000
Revision 1.3: download - view: text, markup, annotated - select for diffs
Sat Jul 14 07:54:04 2018 UTC (6 years, 5 months ago) by maxv
Branches: MAIN
CVS tags: phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
phil-wifi-20191119,
phil-wifi-20190609,
pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
pgoyette-compat-1126,
pgoyette-compat-1020,
pgoyette-compat-0930,
pgoyette-compat-0906,
pgoyette-compat-0728,
netbsd-9-base,
netbsd-9-3-RELEASE,
netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2,
netbsd-9-0-RC1,
is-mlppp-base,
is-mlppp
Branch point for: phil-wifi,
pgoyette-compat,
netbsd-9
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +15 -5
lines
Finish the Skylake/Kabylake table, and improve the output of "tprof analyze".
Revision 1.2: download - view: text, markup, annotated - select for diffs
Fri Jul 13 12:04:50 2018 UTC (6 years, 5 months ago) by maxv
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +17 -5
lines
Ask for a file path with the "analyze" command, instead of reading stdin.
Revision 1.1: download - view: text, markup, annotated - select for diffs
Fri Jul 13 11:03:36 2018 UTC (6 years, 5 months ago) by maxv
Branches: MAIN
Merge tpfmt(1) into tprof(8). We want to have access to everything with
only one tool. The code is copied mostly as-is, and the functionality is
available via the "analyze" command.
Eg:
tprof monitor -e llc-misses:k -o myfile.out sleep 20
tprof analyze < myfile.out
Will move soon, I don't like the reading via stdin.
CVSweb <webmaster@jp.NetBSD.org>