Skip to contentSkip to conversation

Is lttng enable by default in debian hammer-0.94.5?

DISCUSSION hzwulibin 2 participants 4 messages Oct 30, 2015 1 message not in the archive

lore
Share & tools
lore

hzwulibin

author
#0 lore raw

Hi, everyone

After install hammer-0.94.5 in debian, i want to trace the librbd by lttng, but after done follow steps, i got nothing:

 2036  mkdir -p traces
 2037  lttng create -o traces librbd
 2038  lttng enable-event -u 'librbd:*'
 2039  lttng add-context -u -t pthread_id
 2040  lttng start
 2041  lttng stop

So, is the lttng enabled in this version on debian?

Thanks!

--------------
hzwulibin
2015-10-30

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw

Hi,

Have you disabled apparmor?

Please check apparmor_status if libvirtd is in enforcing mode then lttng traces will not be generated.

Thanks,
Shylesh

Quoted 23 lines · hzwulibin

Hi, everyone

After install hammer-0.94.5 in debian, i want to trace the librbd by lttng, but after done follow steps, i got nothing:

 2036  mkdir -p traces
 2037  lttng create -o traces librbd
 2038  lttng enable-event -u 'librbd:*'
 2039  lttng add-context -u -t pthread_id
 2040  lttng start
 2041  lttng stop

So, is the lttng enabled in this version on debian?

Thanks!

--------------
hzwulibin
2015-10-30
_______________________________________________
ceph-users mailing list [email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Signature · 2 lines
Thanks & Regards
Shylesh Kumar M

_______________________________________________
ceph-users mailing list [email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

author
#3 lore raw

Hi,

we don't enable the appormor.

Thanks!

------------------
hzwulibin
2015-10-30

-------------------------------------------------------------
发件人:shylesh kumar <[email protected]>
发送日期:2015-10-30 20:44
收件人:hzwulibin
抄送:ceph-devel,ceph-users
主题:Re: [ceph-users] Is lttng enable by default in debian hammer-0.94.5?

Hi,

Have you disabled apparmor?

Please check apparmor_status if libvirtd is in enforcing mode then lttng traces will not be generated.

Thanks,
Shylesh

Quoted 23 lines · hzwulibin

Hi, everyone

After install hammer-0.94.5 in debian, i want to trace the librbd by lttng, but after done follow steps, i got nothing:

 2036  mkdir -p traces
 2037  lttng create -o traces librbd
 2038  lttng enable-event -u 'librbd:*'
 2039  lttng add-context -u -t pthread_id
 2040  lttng start
 2041  lttng stop

So, is the lttng enabled in this version on debian?

Thanks!

--------------
hzwulibin
2015-10-30
_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Signature · 2 lines
Thanks & Regards
Shylesh Kumar M
#4 lore raw
In reply to a message not in the archive

Hi,

Have you disabled apparmor?

Please check apparmor_status if libvirtd is in enforcing mode then lttng traces will not be generated.

Thanks,
Shylesh

Quoted 21 lines · hzwulibin

Hi, everyone

After install hammer-0.94.5 in debian, i want to trace the librbd by lttng, but after done follow steps, i got nothing:

 2036  mkdir -p traces
 2037  lttng create -o traces librbd
 2038  lttng enable-event -u 'librbd:*'
 2039  lttng add-context -u -t pthread_id
 2040  lttng start
 2041  lttng stop

So, is the lttng enabled in this version on debian?

Thanks!

--------------
hzwulibin
2015-10-30
_______________________________________________
ceph-users mailing list [email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Signature · 2 lines
Thanks & Regards
Shylesh Kumar M