This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH v2 3/5] perf/sdt: Show SDT cache contents



On 10/03/2014 06:25 PM, Masami Hiramatsu wrote:
(2014/10/01 11:48), Hemant Kumar wrote:
@@ -35,10 +45,13 @@ int cmd_sdt_cache(int argc, const char **argv, const char *prefix __maybe_unused
  		OPT_CALLBACK('a', "add", NULL, "filename",
  			     "add SDT events from a file.",
  			     opt_add_sdt_events),
+		OPT_CALLBACK_NOOPT('s', "dump", NULL, "show SDT events",
+				   "Read SDT events from cache and display.",
+				   opt_show_sdt_events),
Just one note here. -s and --dump are a bit odd. how about using -D for short ops?

Thank you,


Yeah, will use -D then! :)

--
Thanks,
Hemant Kumar


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]