Project

General

Profile

Actions

Bug #945

open

Running cyclictest with lttng

Added by Matthew Khouzam about 9 years ago. Updated about 9 years ago.

Status:
Feedback
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
10/05/2015
Due date:
% Done:

0%

Estimated time:

Description

This may be a user issue, but I spent most of sunday trying to get this to work.

Computer:
Intel core2 duo 5200 + 2 gb ram.
Distro: Ubuntu 14.04 lts (64 bit)
kernel 3.16

I've tried getting it to work with Ubuntu's default 2.4 kernel modules. I ended up with a black screen.
I've tried with the stable ppa version, it generates empty traces.
I've tried with the nightly ppa, it says "kernel abi is 2.0, expected 1.*"
I've tried from git head, I get a black screen, approximatively seconds later I see a call stack with "error cpu froze for 20 seconds"

Cyclical test location:

git clone git://git.kernel.org/pub/scm/linux/kernel/git/clrkwllms/rt-tests.git

Here is the script I ran

#/bin/bash

lttng create cyctest-1-core
lttng enable-event -a -k
lttng start
sudo ./cyclictest -a 1 -l 1000
lttng stop
lttng destroy
lttng create cyctest-2-core
lttng enable-event -a -k
lttng start
sudo ./cyclictest -l 1000
lttng stop
lttng destroy

Actions #1

Updated by Jérémie Galarneau about 9 years ago

  • Status changed from New to Feedback

LTTng 2.4 has been unsupported for a while. Does it happen with LTTng 2.7.0?

Actions #2

Updated by Matthew Khouzam about 9 years ago

Jérémie Galarneau wrote:

LTTng 2.4 has been unsupported for a while. Does it happen with LTTng 2.7.0?

2.7.0 works. The ppas do not, nor does head(s).

Actions #3

Updated by Matthew Khouzam about 9 years ago

It is possible that the problem is therefore with the packaging of LTTng in Ubuntu. Even though 2.4 is not supported, it is in Ubuntu LTS. So there needs to be an upgrade path for them.

As the problem was solved by git checkout everything at the tag, this can be closed for 2.7. I would suggest for the sake of it though to try it out for testing purposes. The program looks like a nice test framework.

Actions

Also available in: Atom PDF