Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F170756421
D58930.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
2 KB
Referenced Files
None
Subscribers
None
D58930.id.diff
View Options
diff --git a/usr.sbin/pmc/Makefile b/usr.sbin/pmc/Makefile
--- a/usr.sbin/pmc/Makefile
+++ b/usr.sbin/pmc/Makefile
@@ -5,13 +5,17 @@
MAN=
CWARNFLAGS.gcc+= -Wno-redundant-decls
CFLAGS+= -I${SRCTOP}/lib/libpmcstat
+CXXSTD= c++20
LIBADD= pmc m util ncursesw pmcstat elf dwarf
SRCS= pmc.c pmc_util.c cmd_pmc_stat.c \
cmd_pmc_list.c cmd_pmc_filter.cc \
cmd_pmc_summary.cc \
- cmd_pmc_frontend.cc cmd_pmc_record.cc cmd_pmc_info.cc \
- display.cc util.cc view.cc
+ cmd_pmc_annotate.cc cmd_pmc_branch.cc \
+ cmd_pmc_frontend.cc cmd_pmc_ibs.cc cmd_pmc_info.cc \
+ cmd_pmc_memory.cc cmd_pmc_program.cc cmd_pmc_record.cc \
+ cmd_pmc_system.cc \
+ display.cc objdump.cc util.cc view.cc
.include <bsd.prog.mk>
diff --git a/usr.sbin/pmc/cmd_pmc.h b/usr.sbin/pmc/cmd_pmc.h
--- a/usr.sbin/pmc/cmd_pmc.h
+++ b/usr.sbin/pmc/cmd_pmc.h
@@ -41,14 +41,22 @@
#if defined(__cplusplus)
extern "C" {
#endif
+ int cmd_pmc_annotate(int, char **);
+ int cmd_pmc_branch(int, char **);
+ int cmd_pmc_c2c(int, char **);
+ int cmd_pmc_ibs(int, char **);
int cmd_pmc_info(int, char **);
int cmd_pmc_filter(int, char **);
int cmd_pmc_frontend(int, char **);
+ int cmd_pmc_function(int, char **);
int cmd_pmc_list_events(int, char **);
+ int cmd_pmc_memory(int, char **);
+ int cmd_pmc_program(int, char **);
int cmd_pmc_record(int, char **);
int cmd_pmc_stat(int, char **);
int cmd_pmc_stat_system(int, char **);
int cmd_pmc_summary(int, char **);
+ int cmd_pmc_system(int, char **);
#if defined(__cplusplus)
};
#endif
diff --git a/usr.sbin/pmc/pmc.c b/usr.sbin/pmc/pmc.c
--- a/usr.sbin/pmc/pmc.c
+++ b/usr.sbin/pmc/pmc.c
@@ -61,14 +61,20 @@
};
static struct cmd_handler disp_table[] = {
+ { "annotate", cmd_pmc_annotate, "Annotate assembly listings" },
+ { "branch", cmd_pmc_branch, "Analyze branch misprediction" },
{ "filter", cmd_pmc_filter, NULL },
{ "frontend", cmd_pmc_frontend, "Analyze front-end stalls" },
+ { "ibs", cmd_pmc_ibs, "Breakdown IBS statistics" },
{ "info", cmd_pmc_info, "Display high level information about a log" },
{ "list-events", cmd_pmc_list_events, "List available PMC events" },
+ { "memory", cmd_pmc_memory, "Show most expensive memory operations" },
+ { "program", cmd_pmc_program, "Show a summary of all functions" },
{ "record", cmd_pmc_record, "Record a performance sample" },
{ "stat", cmd_pmc_stat, NULL },
{ "stat-system", cmd_pmc_stat_system, NULL },
{ "summary", cmd_pmc_summary, NULL },
+ { "system", cmd_pmc_system, "Show a summary of all processes" },
{ NULL, NULL, NULL }
};
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Sep 7, 10:50 AM (6 h, 15 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
38023496
Default Alt Text
D58930.id.diff (2 KB)
Attached To
Mode
D58930: pmc: Enable the new commands in pmc
Attached
Detach File
Event Timeline
Log In to Comment