Project

General

Profile

Actions

Bug #500

closed

Add context for perf counters fails

Added by Bernd Hufmann over 11 years ago. Updated over 11 years ago.

Status:
Won't fix
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
04/10/2013
Due date:
% Done:

0%

Estimated time:

Description

I cannot add contexts for perf counters using lttng-tools v2.1.1 (or v2.2-rc1). I get the error below. When using lttng-tools 2.0.5 (on a different computer) it works.

lttng create mySession

Session mySession created.
Traces will be written in /home/bernd/lttng-traces/mySession-20130319-145021

lttng enable-event -a -k

All kernel events are enabled in channel channel0

lttng add-context -k -t perf:branch-misses -t perf:cache-misses

PERROR: add context ioctl: Invalid argument [in kernel_add_channel_context() at kernel.c:47]
Error: perf:cache-misses: Add kernel context failed
PERROR: add context ioctl: Invalid argument [in kernel_add_channel_context() at kernel.c:47]
Error: perf:branch-misses: Add kernel context failed
Warning: Some command(s) went wrong

-----------------------------------------------------------------------
My setup is:
Ubuntu 12.04 with kernel 3.2.0-38
lttng-modules v2.1.1
lttng-tools v2.1.1


Files

dmesg (28.3 KB) dmesg Bernd Hufmann, 04/15/2013 07:18 AM
Actions

Also available in: Atom PDF