GEN_PROFILE_MERGE(1)
β¨ NAME β¨
okay bestie, gather round π this is gen_profile_merge β the little icon of the sediment manual, section 1, and it does exactly what it says on the tin: it merges a whole bunch of callgraphs into one single callgraph. periodt.
πΈ DESCRIPTION πΈ
so here's the vibe: gen_profile_merge takes one or more call graph files (.gv, obviously π
), gives each one a weight, and then smooshes all of them together into a single file. that's it. that's the whole job. and it ate, ngl.
usage goes like this:
gen_profile_merge [options]
π OPTIONS π
-h,--helpβ hands you the short usage message with every supported option listed out. your little map πΊοΈβ¨-w,--weight=<float>β sets the weight to<float>for all the input files that come after this option, and it keeps applying until it bumps into another weight option. lowkey important: the default weight is1.0. so if you don't say anything, everything's weighted1.0fr fr.-f,--file=<input_file>β names a file to merge with the others. every single file you want in the merge needs its own-foption, no skipping π.-o,--output=<output_file>β tells it where to write the output. and bestie, you must specify an output file. there is no default. it's giving "required", because it is π.-d,--debugβ dumps extra information tostderrfor debugging. > β οΈ heads up: this one is for the developers and maintainers of the Sediment package, not for normal users. so if that's not you, leave it alone, iykyk.
π¦ EXAMPLE π¦
here's the moment, the main character energy example:
gen_profile_merge -o merged.gv -w 0.75 -f major_exp.gv -w 0.25 -f minor_exp.gv
see how the weights flip between the files? major_exp.gv gets 0.75, then -w 0.25 switches it up so minor_exp.gv gets 0.25. iconic. chef's kiss π
π AUTHOR π
William Cohen β yes, the whole thing. we stan.
β COPYRIGHT β
2013, William Cohen
and that's a wrap, bestie π«Ά this was sediment version 0.8, dated Jul 25, 2025, and it lives in section 1 of the manual β go forth and merge those callgraphs, you absolute legend ππ
π¦ where this page comes from
- fedora 43: sediment 0.9.4-3.fc43 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms