Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ddcacfa0 authored by Ingo Molnar's avatar Ingo Molnar
Browse files

perf_counter tools: separate kerneltop into 'perf top' and 'perf stat'



Lets use the Git framework of built-in commands.

Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 6f06ccbc
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -309,6 +309,7 @@ LIB_OBJS += usage.o
LIB_OBJS += wrapper.o

BUILTIN_OBJS += builtin-help.o
BUILTIN_OBJS += builtin-stat.o
BUILTIN_OBJS += builtin-top.o

PERFLIBS = $(LIB_FILE)
+592 −0

File changed and moved.

Preview size limit exceeded, changes collapsed.

+4 −200

File changed.

Preview size limit exceeded, changes collapsed.

+2 −1
Original line number Diff line number Diff line
@@ -14,5 +14,6 @@ extern void prune_packed_objects(int);
extern int read_line_with_nul(char *buf, int size, FILE *file);
extern int check_pager_config(const char *cmd);

extern int cmd_top(int argc, const char **argv, const char *prefix);
extern int cmd_top(int argc, char **argv, const char *prefix);
extern int cmd_stat(int argc, char **argv, const char *prefix);
#endif
+1 −0
Original line number Diff line number Diff line
# List of known perf commands.
# command name				category [deprecated] [common]
perf-top                                mainporcelain common
perf-stat                               mainporcelain common
Loading