---
name: "vk_logmerge"
section: "1"
platform: "linux"
package: "valkyrie"
version: "2.0.0-1+b1"
release: "Debian 10 (Buster)"
platforms: ["linux"]
url: "https://new.carta.tech/vk_logmerge"
---

# vk\_logmerge(1)

a Valgrind XML log file merger

## NAME

vk\_logmerge - a Valgrind XML log file merger

## SYNOPSIS

**vk\_logmerge** \[flags and input files in any order\]

## DESCRIPTION

**vk\_logmerge** is a  [**valkyrie**(1)](/valkyrie/1.md) helper. Given multiple log files (in xml format) generated by multiple runs on a parallel machine, or multiple log files generated by sequential runs on a single-processor machine, for the same binary, **vk\_logmerge** merges the log files together, summing the counts of duplicates, and outputs the result to a single file. As input, **vk\_logmerge** expects the log-files to-be-merged and/or a file containing the list of log-files to-be-merged, with each entry on a separate line.

Log files can be merged from within [**valkyrie**(1)](/valkyrie/1.md) , or use can invoke **vk\_logmerge** directly.

## OPTIONS

- **-h**

  Show help message

- **-v**

  Be verbose (more -v's give more)

- **-t**

  Output plain text (non-xml)

- **-f \<log\_list\>**

  Obtain input files from \<log\_list\> file (one per line)

- **-o \<writefile\>**

  File to write output to

At least 1 input file must be given.

If no '-o outfile' is given, writes to standard output.

## EXAMPLES

vk\_logmerge log1.xml -f loglist.fls -o merged.xml

## SEE ALSO

[**valkyrie**(1)](/valkyrie/1.md), [**valgrind**(1)](/valgrind/1.md).

## AUTHOR

**vk\_logmerge** was written by Donna Robinson, Cerion Armour-Brown and others.

This manual page was written by Hai Zaar \<haizaar@haizaar.com\>, for the Debian project (but may be used by others).
