All of lore.kernel.org
 help / color / mirror / Atom feed
* Creating session on 64-bit system using a 32-bit wrapper
@ 2015-03-31 13:44 Anand Neeli
  0 siblings, 0 replies; only message in thread
From: Anand Neeli @ 2015-03-31 13:44 UTC (permalink / raw)
  To: lttng-dev


[-- Attachment #1.1: Type: text/plain, Size: 1865 bytes --]

Hi,
I have a wrapper app which is 32-bit which is similar to lttng binary, it
links to liblttng-ctl for creating lttng sessions (similar to lttng) . But
the session create is stuck with below logs.

To simulate this i have done following
1) On a 64-bit system replace /usr/bin/lttng with a 32-bit version of lttng
binary
2) Spawn lttng-sessiond (sessiond is 64-bit, we have not changed it)
3) Now create lttng session using the 32-bit lttng binary using command
"lttng -vvv --no-sessiond create mysession --live 2000000 -U
net://localhost"

After step 3, the console is stuck and doesn't return.

Can anyone please tell me why cant we use 32-bit lttng (or any other
wrapper) which can link to liblttng-ctl and launch sessions? is there any
limitation?

Thanks,
Anand Neeli










root@fpc0:/usr/bin# lttng  -vvv --no-sessiond create mysession --live
2000000 -U net://128.0.0.4
DEBUG1 - 13:16:49.240956 [840/840]: Session live timer interval set to
2000000 (in cmd_create() at commands/create.c:575)
DEBUG3 - 13:16:49.241199 [840/840]: URI string: net://128.0.0.4 (in
uri_parse() at uri.c:293)
DEBUG2 - 13:16:49.241228 [840/840]: IP address resolved to 128.0.0.4 (in
set_ip_address() at uri.c:134)
DEBUG3 - 13:16:49.241235 [840/840]: URI dtype: 1, proto: 1, host:
128.0.0.4, subdir: , ctrl: 0, data: 0 (in uri_parse() at uri.c:507)
DEBUG1 - 13:16:49.241380 [840/840]: LSM cmd type : 30 (in
send_session_msg() at lttng-ctl.c:133)
DEBUG1 - 13:16:49.241452 [830/833]: Wait for client response (in
thread_manage_clients() at main.c:4090)
DEBUG1 - 13:16:49.241498 [830/833]: Receiving data from client ... (in
thread_manage_clients() at main.c:4135)
DEBUG1 - 13:16:49.241753 [830/833]: Processing client command 30 (in
process_client_msg() at main.c:2813)
DEBUG1 - 13:16:49.241775 [830/833]: Waiting for 2 URIs from client ... (in
process_client_msg() at main.c:3740)

[-- Attachment #1.2: Type: text/html, Size: 2393 bytes --]

[-- Attachment #2: Type: text/plain, Size: 155 bytes --]

_______________________________________________
lttng-dev mailing list
lttng-dev@lists.lttng.org
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-03-31 13:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-31 13:44 Creating session on 64-bit system using a 32-bit wrapper Anand Neeli

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.