Re: [PATCH] perf script: Add option to display guest samples in host

From: David Ahern
Date: Wed Oct 18 2017 - 10:37:58 EST


On 10/18/17 1:09 AM, Mengting Zhang wrote:
> @@ -2771,6 +2772,8 @@ int cmd_script(int argc, const char **argv)
> "Show context switch events (if recorded)"),
> OPT_BOOLEAN('\0', "show-namespace-events", &script.show_namespace_events,
> "Show namespace events (if recorded)"),
> + OPT_BOOLEAN('\0', "show-guest-samples", &script.show_guest_samples,
> + "Show guest samples (if recorded)"),
> OPT_BOOLEAN('f', "force", &symbol_conf.force, "don't complain, do it"),
> OPT_INTEGER(0, "max-blocks", &max_blocks,
> "Maximum number of code blocks to dump with brstackinsn"),

At this point we need a 'show-all' option.