Commit a641ea18 authored by Brice Videau's avatar Brice Videau
Browse files

Unified session names.

parent 843f85f6
Pipeline #11581 canceled with stage
......@@ -30,12 +30,12 @@ lttng-sessiond --daemonize --quiet
if [ ! -z "$lttng_view" ]
then
lttng-relayd --daemonize
lttng create my-userspace-ze-session --live
lttng create thapi-cuda-session --live
else
lttng create my-userspace-ze-session
lttng create thapi-cuda-session
fi
lttng enable-channel --userspace --blocking-timeout=inf blocking-channel
lttng add-context --userspace --channel=blocking-channel -t vtid -t pthread_id
lttng add-context --userspace --channel=blocking-channel -t vpid -t vtid
lttng enable-event --channel=blocking-channel --userspace lttng_ust_cuda:*
if [ ! -z "$cudart" ]
then
......
......@@ -20,7 +20,7 @@ whichlib() {
trace() {
quiet="--quiet"
lttng-sessiond --daemonize $quiet
lttng $quiet create clprof
lttng $quiet create thapi-opencl-session
#Using blocking more to trace event record loss
lttng $quiet enable-channel --userspace --blocking-timeout=inf blocking-channel
......@@ -54,7 +54,7 @@ trace_epilogue() {
summary() {
if [ -z "$path" ]; then
lltng_last_session=$(ls -dt $HOME/lttng-traces/clprof* | head -1)
lltng_last_session=$(ls -dt $HOME/lttng-traces/thapi-opencl-session* | head -1)
echo "Trace location " $lltng_last_session
echo
else
......
......@@ -39,12 +39,12 @@ lttng-sessiond --daemonize --quiet
if [ ! -z "$lttng_view" ]
then
lttng-relayd --daemonize
lttng create my-userspace-opencl-session --live
lttng create thapi-opencl-session --live
else
lttng create my-userspace-opencl-session
lttng create thapi-opencl-session
fi
lttng enable-channel --userspace --blocking-timeout=inf blocking-channel
lttng add-context --userspace --channel=blocking-channel -t vtid -t pthread_id
lttng add-context --userspace --channel=blocking-channel -t vpid -t vtid
lttng enable-event --channel=blocking-channel --userspace lttng_ust_opencl:* -x lttng_ust_opencl:clSetKernelArg*,lttng_ust_opencl:clGetKernelArg*,lttng_ust_opencl:clSetKernelExecInfo*
if [ -z "$lightweight" ]
then
......
......@@ -30,12 +30,12 @@ lttng-sessiond --daemonize --quiet
if [ ! -z "$lttng_view" ]
then
lttng-relayd --daemonize
lttng create my-userspace-ze-session --live
lttng create thapi-ze-session --live
else
lttng create my-userspace-ze-session
lttng create thapi-ze-session
fi
lttng enable-channel --userspace --blocking-timeout=inf blocking-channel
lttng add-context --userspace --channel=blocking-channel -t vtid -t pthread_id
lttng add-context --userspace --channel=blocking-channel -t vpid -t vtid
lttng enable-event --channel=blocking-channel --userspace lttng_ust_ze:*
lttng enable-event --channel=blocking-channel --userspace lttng_ust_zet:*
lttng enable-event --channel=blocking-channel --userspace lttng_ust_zes:*
......
......@@ -20,7 +20,7 @@ whichlib() {
trace() {
quiet="--quiet"
lttng-sessiond $quiet --daemonize
lttng $quiet create zeprof
lttng $quiet create thapi-ze-session
#Using blocking more to trace event record loss
lttng $quiet enable-channel --userspace --blocking-timeout=inf blocking-channel
......@@ -55,7 +55,7 @@ trace_epilogue() {
summary() {
if [ -z "$path" ]; then
lltng_last_session=$(ls -dt $HOME/lttng-traces/zeprof* | head -1)
lltng_last_session=$(ls -dt $HOME/lttng-traces/thapi-ze-session* | head -1)
echo "Trace location:" $lltng_last_session
echo
else
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment