On 2013/8/22 17:34, Ivana Hutarova Varekova wrote:
> +++ b/src/tools/cgsnapshot.c
> @@ -624,8 +624,46 @@ static int show_mountpoints(const char *controller)
> return 0;
> }
>
> +/* parse whether data about given controller "name" should be displayed.
> + * If yes then the data are printed. "cont_names" is list of controllers
> + * which should be shown.
> + */
> +static void parse_mountpoint(cont_name_t cont_names[CG_CONTROLLER_MAX],
> + char *name)
> +{
> + int i;
> +
> + /* if there is no controller list show all mounted controllers */
> + if (!(flags & FL_LIST)) {
> + if (show_mountpoints(name)) {
> + /* the controller is not mounted */
> + if ((flags & FL_SILENT) == 0)
> + fprintf(stderr, "ERROR: %s hierarchy "\
> + "not mounted\n", name);
> + }
> + return;
> + }
yes, we had found this problem and fixed it in inner version.
Thanks,
Libo
------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and
AppDynamics. Performance Central is your source for news, insights,
analysis and resources for efficient Application Performance Management.
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
Libcg-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libcg-devel