eepp / vlttng Goto Github PK
View Code? Open in Web Editor NEWCreate LTTng virtual environments
License: MIT License
Create LTTng virtual environments
License: MIT License
As the title indicates, macOS' (and other BSDs, I assume) mkdir
command does not support the --verbose
option. However, the -v
short version is supported.
jeremies-mbp:bin jgalar$ ./vlttng -p urcu-master /Users/jgalar/test
# Create LTTng virtual environment
mkdir --verbose -p /Users/jgalar/test
Error: Command exited with status 64
Dear vlttng devs
trying to install popt through the vlttng tool fails since the TAR file on the rpm5 website seems to be in a bad state
or the wget command on my machine doesn't work properly
i ran
vlttng -p popt-1.16 lttng -j 48
which outputs
# Create LTTng virtual environment
mkdir -v -p /home/ec2-user/tools/lttng
mkdir -v -p /home/ec2-user/tools/lttng/home
mkdir -v -p /home/ec2-user/tools/lttng/usr/bin
mkdir -v -p /home/ec2-user/tools/lttng/usr/lib
mkdir -v -p /home/ec2-user/tools/lttng/usr/include
mkdir -v -p /home/ec2-user/tools/lttng/usr/opt
mkdir -v -p /home/ec2-user/tools/lttng/usr/share/java
Fetch sources
mkdir -v -p /home/ec2-user/tools/lttng/src
cd /home/ec2-user/tools/lttng/src
wget http://rpm5.org/files/popt/popt-1.16.tar.gz -O popt-1.16.tar.gz
mkdir -v -p /home/ec2-user/tools/lttng/src/popt
tar -xvf popt-1.16.tar.gz -C popt --strip-components=1
Error: Command exited with status 2
when i downloaded the popt tar file manually it was a HTML file, not a tar file.
This happened also when i downloaded with a browser
in general it seems like the popt pages in rpm5 is broken as many of the other version files are missing (404)
is there a way to use the yum installed popt instead of installing popt in the environment ?
i have popt 1.13 installed on my machine
The dependency on popt
was removed in Babeltrace 2.x. However, vlttng
still warns that the system version will be used.
Similar to the pip freeze
.
It should print everything you need to know to recreate the exact same environment.
Maybe in the form of a command line that can be copy-pasted directly or some MI format that can be passed to vlttng.
The --without-lttng-ust
option of the LTTng-Tools configure script was introduced in commit a069e9a.
Before that, --disable-lttng-ust
was used.
LTTng-Tools profiles with versions before 2.8 will fail if UST is not included.
It will be great if lttng can be cross compiled with this tool.
When creating a env with Babeltrace with Python bindings on a Ubuntu, we need to change the PYTHON variable to point to the Python3 binary. As mentionned in the Babeltrace README:
export PYTHON="python3"
export PYTHON_CONFIG="/usr/bin/python3-config"
Without those exports, the configure script uses the /usr/bin/python binary which is python2.7 on Ubuntu. The make install
target will then installs the Babeltrace module in the
virtenv/usr//lib/python2.7/dist-packages
directory rather then in the python3.X directory that we need it to be in.
Here is the env I am using :
vlttng --jobs -p lttng-ust-no-man-pages \
-p lttng-tools-no-man-pages \
-p lttng-tools-master \
-p lttng-ust-master \
-p babeltrace-stable-1.4 \
-p babeltrace-python \
/root/virtenv
If you are not on Ubuntu you can recreate this issue with this LXD configuration: http://paste.ubuntu.com/23631618/
I am not quite sure how to fix this issue yet but I wanted to create this report to not forget about it.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.