build/merge_profdata.py
author Liang-Heng Chen <xeonchen@gmail.com>
Mon, 08 Apr 2019 16:21:10 +0000
changeset 468518 9b115f2e5b2c9c82adf5ed6db9fef979a8e6a85c
parent 452475 3b1c7ad601ba81805e5de271f91c6892e42c2091
child 475325 99dfff71a4ca4e7cec211404f9efde80b3b7a693
permissions -rw-r--r--
Bug 1542069 - Enable Telemetry on tracking resources traffic; r=dragana enable the pref Differential Revision: https://phabricator.services.mozilla.com/D26552

# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

import subprocess
import buildconfig


def main(_, profile_file):
    subprocess.check_call([buildconfig.substs['LLVM_PROFDATA'], 'merge',
                           '-o', 'merged.profdata', profile_file])