diff options
author | Emmanuele Bassi <ebassi@gnome.org> | 2018-01-19 20:02:11 +0000 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gnome.org> | 2018-01-19 20:02:11 +0000 |
commit | 49150ba51524a3ae423a8fb649c543718d41b4d9 (patch) | |
tree | ca36b307643bd61bb9261f6eefebcaf98620cb1b /tools/eos-profile-tool/eos-profile-cmds.h | |
parent | 552d944f76f1c0961cd2b3bd39fa44eaa8a95f56 (diff) |
Add show command to eos-profile
The `show` command loads a list of profile capture files and prints the
metadata and sample summary.
Diffstat (limited to 'tools/eos-profile-tool/eos-profile-cmds.h')
-rw-r--r-- | tools/eos-profile-tool/eos-profile-cmds.h | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/tools/eos-profile-tool/eos-profile-cmds.h b/tools/eos-profile-tool/eos-profile-cmds.h index f06781c..c6da7d4 100644 --- a/tools/eos-profile-tool/eos-profile-cmds.h +++ b/tools/eos-profile-tool/eos-profile-cmds.h @@ -8,19 +8,6 @@ typedef int (* EosProfileCmdMain) (void); gboolean eos_profile_cmd_help_parse_args (int argc, char **argv); int eos_profile_cmd_help_main (void); -const struct { - const char *name; - const char *description; +gboolean eos_profile_cmd_show_parse_args (int argc, char **argv); +int eos_profile_cmd_show_main (void); - EosProfileCmdParseArgs parse_args; - EosProfileCmdMain main; -} profile_commands[] = { - { - .name = "help", - .description = "Prints help", - .parse_args = eos_profile_cmd_help_parse_args, - .main = eos_profile_cmd_help_main, - }, - - { NULL, }, -}; |