Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added full fledged vampirtrace support
- Loading branch information
Showing
5 changed files
with
80 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# videocapture is tool with no special purpose | ||
# | ||
# Copyright (C) 2009 Ronny Brendel <ronnybrendel@gmail.com> | ||
# | ||
# This program is free software: you can redistribute it and/or modify | ||
# it under the terms of the GNU General Public License as published by | ||
# the Free Software Foundation, either version 3 of the License, or | ||
# (at your option) any later version. | ||
# | ||
# This program is distributed in the hope that it will be useful, | ||
# but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
# GNU General Public License for more details. | ||
# | ||
# You should have received a copy of the GNU General Public License | ||
# along with this program. If not, see <http://www.gnu.org/licenses/> | ||
|
||
|
||
DEFINES += HAVE_VAMPIRTRACE | ||
|
||
QMAKE_CXX=vtcxx | ||
QMAKE_CXXFLAGS += -vt:cxx g++-4.4 -vt:inst manual -DVTRACE | ||
|
||
QMAKE_CC=vtcc | ||
QMAKE_CFLAGS += -vt:cc gcc-4.4 -vt:inst manual -DVTRACE | ||
|
||
QMAKE_LINK = vtcxx | ||
QMAKE_LFLAGS += -vt:cxx g++-4.4 -vt:inst manual -DVTRACE | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,6 +32,8 @@ using namespace std; | |
|
||
int main(int argc, char **args) | ||
{ | ||
VT | ||
|
||
QApplication app(argc, args); | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -50,3 +50,5 @@ SOURCES += ./src/CaptureDevice.cpp \ | |
./src/main.cpp \ | ||
./src/MainWindow.cpp | ||
|
||
#include(enable-vampirtrace.pri) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#! /bin/bash | ||
|
||
# no flush limit | ||
# manual demangling | ||
# unique prefix for easier deletion | ||
# bigger buffer for fewer flushes | ||
VT_MAX_FLUSHES=0 VT_GNU_DEMANGLE=yes VT_FILE_PREFIX=vt_videocapture VT_BUFFER_SIZE=1024M VT_PFORM_GDIR=./ VT_PFORM_LDIR=/tmp/ ./videocapture | ||
|