Message ID | 20180905134939.2942-3-tvrtko.ursulin@linux.intel.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <intel-gfx-bounces@lists.freedesktop.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 5A7085A4 for <patchwork-intel-gfx@patchwork.kernel.org>; Wed, 5 Sep 2018 13:49:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4A9502A1DA for <patchwork-intel-gfx@patchwork.kernel.org>; Wed, 5 Sep 2018 13:49:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3EA7A2A1E7; Wed, 5 Sep 2018 13:49:51 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id F1B442A1DA for <patchwork-intel-gfx@patchwork.kernel.org>; Wed, 5 Sep 2018 13:49:50 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id C9A246E49A; Wed, 5 Sep 2018 13:49:49 +0000 (UTC) X-Original-To: Intel-gfx@lists.freedesktop.org Delivered-To: Intel-gfx@lists.freedesktop.org Received: from mail-wr1-x443.google.com (mail-wr1-x443.google.com [IPv6:2a00:1450:4864:20::443]) by gabe.freedesktop.org (Postfix) with ESMTPS id F03406E499 for <Intel-gfx@lists.freedesktop.org>; Wed, 5 Sep 2018 13:49:47 +0000 (UTC) Received: by mail-wr1-x443.google.com with SMTP id 20-v6so7719779wrb.12 for <Intel-gfx@lists.freedesktop.org>; Wed, 05 Sep 2018 06:49:47 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=swj6tuD7XnKetbQbajGKv2l1AJRsbqM7bbKcX8YVR6c=; b=nPAjbJ+Qw9hLEmQczQZn2lz7g0TjNuxS0wUdgR7ZOz+eRN2J5CXjHDpX07Jvdtn6LY OZgXN/4WGU4JRDxBT1bJGqzS1ayX68o50zstFKwokxeZwvb3wcpjo+UIr/lEU/vGNJ+m 1xgFRexu9AW4SLAbt95+k+GcVrkCt9llCo/QruWBuilZTOpl7KuyfjgAeyrar4aeqBYo 2YO0okXFXf2QjkWKhs+ZM8Eq7DWRNNoPhsFebSW7QygYBihZYcmLRPWzEQy4xZEHQ8IQ IKpcnqH7cyDJ2QqKITx7hDzTXs4l7HmvLLF776BUZMm58izjB6x+E/nUWhcyHpVBRH32 1N3g== X-Gm-Message-State: APzg51DfqL143H/ws5jxvPXa/UfzvaSXirYuC7tjQi+yuN+YbFgSIl8k 5917k3w7BUznugfqHh3asSyEyYu7Vss= X-Google-Smtp-Source: ANB0VdZfwj4fhhc7rB7ZjTMvao8mD4HMJYYSCZAsXGYudEgVGydfrysv1k35gxzud5WCQbeOI6FuGA== X-Received: by 2002:adf:f906:: with SMTP id b6-v6mr11810556wrr.28.1536155386656; Wed, 05 Sep 2018 06:49:46 -0700 (PDT) Received: from localhost.localdomain ([95.144.165.37]) by smtp.gmail.com with ESMTPSA id j66-v6sm2701639wrj.28.2018.09.05.06.49.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 05 Sep 2018 06:49:46 -0700 (PDT) From: Tvrtko Ursulin <tursulin@ursulin.net> X-Google-Original-From: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com> To: igt-dev@lists.freedesktop.org Date: Wed, 5 Sep 2018 14:49:28 +0100 Message-Id: <20180905134939.2942-3-tvrtko.ursulin@linux.intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180905134939.2942-1-tvrtko.ursulin@linux.intel.com> References: <20180905134939.2942-1-tvrtko.ursulin@linux.intel.com> Subject: [Intel-gfx] [PATH i-g-t 02/13] trace.pl: Use undocumented -o to perf record to allow tee X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Intel graphics driver community testing & development <intel-gfx.lists.freedesktop.org> List-Unsubscribe: <https://lists.freedesktop.org/mailman/options/intel-gfx>, <mailto:intel-gfx-request@lists.freedesktop.org?subject=unsubscribe> List-Archive: <https://lists.freedesktop.org/archives/intel-gfx> List-Post: <mailto:intel-gfx@lists.freedesktop.org> List-Help: <mailto:intel-gfx-request@lists.freedesktop.org?subject=help> List-Subscribe: <https://lists.freedesktop.org/mailman/listinfo/intel-gfx>, <mailto:intel-gfx-request@lists.freedesktop.org?subject=subscribe> Cc: Intel-gfx@lists.freedesktop.org MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" <intel-gfx-bounces@lists.freedesktop.org> X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
Tracing & workload simulation misc patches
|
expand
|
diff --git a/scripts/trace.pl b/scripts/trace.pl index 2976cfdf585a..18f9f3b18396 100755 --- a/scripts/trace.pl +++ b/scripts/trace.pl @@ -170,8 +170,9 @@ sub arg_trace if ($_[0] eq '--trace') { shift @_; + unshift @_, '--'; unshift @_, join(',', @events); - unshift @_, ('perf', 'record', '-a', '-c', '1', '-q', '-e'); + unshift @_, ('perf', 'record', '-a', '-c', '1', '-q', '-o', 'perf.data', '-e'); exec @_; }