lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 21 Aug 2014 16:03:01 -0400
From:	Alexandre Montplaisir <alexmonthy@...populi.im>
To:	Jiri Olsa <jolsa@...hat.com>
CC:	linux-kernel@...r.kernel.org,
	Dominique Toupin <dominique.toupin@...csson.com>,
	Mathieu Desnoyers <mathieu.desnoyers@...icios.com>,
	Sebastian Andrzej Siewior <bigeasy@...utronix.de>,
	Tom Zanussi <tzanussi@...il.com>,
	Jeremie Galarneau <jgalar@...icios.com>,
	David Ahern <dsahern@...il.com>,
	Arnaldo Carvalho de Melo <acme@...hat.com>
Subject: Re: FW: [RFC 0/5] perf tools: Add perf data CTF conversion


On 08/21/2014 12:58 PM, Jiri Olsa wrote:
> hum, I've got nothing from babeltrace:
>
> [jolsa@...va ~]$ su
> Password:
> [root@...va jolsa]# lttng create perf
> Spawning a session daemon
> Session perf created.
> Traces will be written in /root/lttng-traces/perf-20140821-184956
> [root@...va jolsa]# lttng add-context -k -t prio -t perf:cpu:cycles

Oh I see the problem, you don't have any events enabled! In LTTng terms, 
a "context" is a piece of information that gets attached to every event. 
But if you don't have any event at all, you're not gonna see much 
context information. ;)

Try adding a
# lttng enable-event -a -k
before starting the session. This should give you some output in the 
viewers.


Cheers,
Alexandre


> kernel context prio added to all channels
> kernel context perf:cpu:cycles added to all channels
> [root@...va jolsa]# lttng start
> Tracing started for session perf
> [root@...va jolsa]# lttng stop
> Waiting for data availability.
> Tracing stopped for session perf
> [root@...va jolsa]# lttng destroy
> Session perf destroyed
> [root@...va jolsa]# babeltrace ~/lttng-traces/perf-20140821-184956/
> [root@...va jolsa]# babeltrace ~/lttng-traces/perf-20140821-184956/kernel/
> [root@...va jolsa]#
>
> and empty view in eclipse
>
> thanks,
> jirka

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ