aboutsummaryrefslogtreecommitdiff
path: root/lib/libpmcstat
diff options
context:
space:
mode:
authorMateusz Guzik <mjg@FreeBSD.org>2020-08-05 19:05:49 +0000
committerMateusz Guzik <mjg@FreeBSD.org>2020-08-05 19:05:49 +0000
commit94e9ef85c594951f9d9d0e4cd7595e9cd2f792da (patch)
treeaa11a6f0efd70efc1ad0ae0b867c8fb17725a695 /lib/libpmcstat
parent5414a8285faa844f925159b890c676c25f8a8c1c (diff)
downloadsrc-94e9ef85c594951f9d9d0e4cd7595e9cd2f792da.tar.gz
src-94e9ef85c594951f9d9d0e4cd7595e9cd2f792da.zip
pmcstat: implement showing offsets into symbols in top mode
The -I option (and hotkey) is reused for this. Skipping symbol resolution is moved to the new -A option (and hotkey). While arguably this violates POLA I think it's a change for the better. ALso note the -I option was added in head. Differential Revision: https://reviews.freebsd.org/D21658
Notes
Notes: svn path=/head/; revision=363928
Diffstat (limited to 'lib/libpmcstat')
-rw-r--r--lib/libpmcstat/libpmcstat.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libpmcstat/libpmcstat.h b/lib/libpmcstat/libpmcstat.h
index 3f5f2689f6b3..8e8d94b116d8 100644
--- a/lib/libpmcstat/libpmcstat.h
+++ b/lib/libpmcstat/libpmcstat.h
@@ -107,8 +107,9 @@ struct pmcstat_args {
#define FLAGS_HAS_CPUMASK 0x00040000 /* -c */
#define FLAG_HAS_DURATION 0x00080000 /* -l secs */
#define FLAG_DO_WIDE_GPROF_HC 0x00100000 /* -e */
-#define FLAG_SKIP_TOP_FN_RES 0x00200000 /* -I */
+#define FLAG_SKIP_TOP_FN_RES 0x00200000 /* -A */
#define FLAG_FILTER_THREAD_ID 0x00400000 /* -L */
+#define FLAG_SHOW_OFFSET 0x00800000 /* -I */
int pa_required; /* required features */
int pa_pplugin; /* pre-processing plugin */