Skip to content

Commit

Permalink
Add decomposition support to dump_cfg
Browse files Browse the repository at this point in the history
  • Loading branch information
nick-enoent committed May 11, 2023
1 parent 006782c commit 88fc71f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions ldms/src/ldmsd/ldmsd_request.c
Original file line number Diff line number Diff line change
Expand Up @@ -6165,17 +6165,15 @@ static int dump_cfg_handler(ldmsd_req_ctxt_t reqc)
"container=%s "
"schema=%s "
"flush=%ld "
"perm=%d ",
"perm=%d",
strgp->obj.name,
strgp->plugin_name,
strgp->container,
strgp->schema,
strgp->flush_interval.tv_sec,
strgp->obj.perm);
/*
if (strgp->decomp)
fprintf(fp, "decomposition=%s", strgp->decomp);
*/
fprintf(fp, " decomposition=%s", strgp->decomp_name);
fprintf(fp, "\n");
if (strgp->state == LDMSD_STRGP_STATE_RUNNING)
fprintf(fp, "strgp_start name=%s\n", strgp->obj.name);
Expand Down

0 comments on commit 88fc71f

Please sign in to comment.