Skip to content

Instantly share code, notes, and snippets.

@tetsu-koba
Created January 19, 2012 08:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tetsu-koba/1638823 to your computer and use it in GitHub Desktop.
Save tetsu-koba/1638823 to your computer and use it in GitHub Desktop.
adb logs at "adb shell ls"
system/core/adb/adb.c::main():Handling commandline()
system/core/adb/commandline.c::adb_commandline():interactive shell loop. buff=shell:ls
system/core/adb/adb_client.c::_adb_connect():_adb_connect: host:version
system/core/adb/transport.c::writex():writex: fd=3 len=4: 30303063 000c
system/core/adb/transport.c::writex():writex: fd=3 len=12: 686f73743a76657273696f6e host:version
system/core/adb/transport.c::readx():readx: fd=3 wanted=4
system/core/adb/transport.c::readx():readx: fd=3 wanted=4 got=4
4f4b4159 OKAY
system/core/adb/adb_client.c::_adb_connect():_adb_connect: return fd 3
system/core/adb/adb_client.c::adb_connect():adb_connect: service shell:ls
system/core/adb/transport.c::readx():readx: fd=3 wanted=4
system/core/adb/transport.c::readx():readx: fd=3 wanted=4 got=4
30303034 0004
system/core/adb/transport.c::readx():readx: fd=3 wanted=4
system/core/adb/transport.c::readx():readx: fd=3 wanted=4 got=4
30303164 001d
system/core/adb/adb_client.c::_adb_connect():_adb_connect: shell:ls
system/core/adb/transport.c::writex():writex: fd=3 len=4: 30303132 0012
system/core/adb/transport.c::writex():writex: fd=3 len=18: 686f73743a7472616e73706f72742d61 host:transport-a
system/core/adb/adb_client.c::switch_socket_transport():Switch transport in progress
system/core/adb/transport.c::readx():readx: fd=3 wanted=4
system/core/adb/transport.c::readx():readx: fd=3 wanted=4 got=4
4f4b4159 OKAY
system/core/adb/adb_client.c::switch_socket_transport():Switch transport success
system/core/adb/transport.c::writex():writex: fd=3 len=4: 30303038 0008
system/core/adb/transport.c::writex():writex: fd=3 len=8: 7368656c6c3a6c73 shell:ls
system/core/adb/transport.c::readx():readx: fd=3 wanted=4
system/core/adb/transport.c::readx():readx: fd=3 wanted=4 got=4
4f4b4159 OKAY
system/core/adb/adb_client.c::_adb_connect():_adb_connect: return fd 3
system/core/adb/adb_client.c::adb_connect():adb_connect: return fd 3
system/core/adb/commandline.c::adb_commandline():about to read_and_dump(fd=3)
system/core/adb/commandline.c::read_and_dump():read_and_dump(): pre adb_read(fd=3)
system/core/adb/commandline.c::read_and_dump():read_and_dump(): post adb_read(fd=3): len=247
system/core/adb/commandline.c::read_and_dump():read_and_dump(): pre adb_read(fd=3)
system/core/adb/commandline.c::read_and_dump():read_and_dump(): post adb_read(fd=3): len=0
system/core/adb/commandline.c::adb_commandline():read_and_dump() done.
system/core/adb/commandline.c::adb_commandline():interactive shell loop. return r=0
system/core/adb/usb_linux_client.c::usb_read():[ done fd=9 ]
system/core/adb/usb_linux_client.c::usb_read():about to read (fd=9, len=9)
system/core/adb/usb_linux_client.c::usb_read():[ done fd=9 ]
system/core/adb/transport.c::output_thread():(null): received remote packet, sending to transport
system/core/adb/transport.c::dump_packet():fd=15: to remote: [OPEN] arg0=10 arg1=0 (len=9) 7368656c6c3a6c7300 shell:ls.
system/core/adb/usb_linux_client.c::usb_read():about to read (fd=9, len=24)
system/core/adb/transport.c::transport_socket_events():transport_socket_events(fd=14, events=0001,...)
system/core/adb/transport.c::dump_packet():fd=14: from remote: [OPEN] arg0=10 arg1=0 (len=9) 7368656c6c3a6c7300 shell:ls.
system/core/adb/adb.c::handle_packet():handle_packet() OPEN
system/core/adb/services.c::create_subproc_thread():create_subprocess() ret_fd=31 pid=581
system/core/adb/services.c::create_subproc_thread():service thread started, fd=31 pid=581
system/core/adb/sockets.c::create_local_socket():LS(2): created (fd=31)
system/core/adb/sockets.c::create_local_service_socket():LS(2): bound to 'shell:ls' via 31
system/core/adb/sockets.c::create_remote_socket():RS(10): created
system/core/adb/adb.c::send_ready():Calling send_ready
system/core/adb/transport.c::dump_packet():fd=14: to remote: [OKAY] arg0=2 arg1=10 (len=0)
system/core/adb/transport.c::dump_packet():fd=15: from remote: [OKAY] arg0=2 arg1=10 (len=0)
system/core/adb/transport.c::input_thread():(null): transport got packet, sending to remote
system/core/adb/usb_linux_client.c::usb_write():about to write (fd=9, len=24)
system/core/adb/usb_linux_client.c::usb_write():[ done fd=9 ]
system/core/adb/services.c::subproc_waiter_service():entered. fd=31 of pid=581
system/core/adb/services.c::subproc_waiter_service():fd=31, post waitpid(pid=581) status=0000
system/core/adb/services.c::subproc_waiter_service():*** Exit code 0
system/core/adb/services.c::subproc_waiter_service():shell exited fd=31 of pid=581 err=0
system/core/adb/transport.c::writex():writex: fd=10 len=4: system/core/adb/sockets.c::local_socket_event_func():LS(2): event_func(fd=31(==31), ev=0001)
1f000000 ....
system/core/adb/sockets.c::local_socket_event_func():LS(2): post adb_read(fd=31,...) r=247 (errno=0) avail=4096
system/core/adb/services.c::subproc_waiter_service():notified shell exit via fd=10 for pid=581 res=0 errno=0
system/core/adb/sockets.c::local_socket_event_func():LS(2): post adb_read(fd=31,...) r=-1 (errno=5) avail=3849
system/core/adb/sockets.c::local_socket_event_func():LS(2): fd=31 post avail loop. r=-1 is_eof=1 forced_eof=0
system/core/adb/sockets.c::remote_socket_enqueue():entered remote_socket_enqueue RS(10) WRITE fd=0 peer.fd=31
system/core/adb/transport.c::dump_packet():fd=14: to remote: [WRTE] arg0=2 arg1=10 (len=247) 616363740d0a63616368650d0a636f6e acct..cache..con
system/core/adb/sockets.c::local_socket_event_func():LS(2): fd=31 post peer->enqueue(). r=1
system/core/adb/sockets.c::local_socket_event_func(): closing because is_eof=1 r=1 s->fde.force_eof=0
system/core/adb/sockets.c::local_socket_close_locked():entered. LS(2) fd=31
system/core/adb/sockets.c::local_socket_close_locked():LS(2): closing peer. peer->id=10 peer->fd=0
system/core/adb/sockets.c::remote_socket_close():entered remote_socket_close RS(10) CLOSE fd=0 peer->fd=-1
system/core/adb/transport.c::dump_packet():fd=14: to remote: [CLSE] arg0=0 arg1=10 (len=0)
system/core/adb/sockets.c::remote_socket_close():RS(10): closed
system/core/adb/sockets.c::local_socket_destroy():LS(2): destroying fde.fd=31
system/core/adb/sockets.c::local_socket_close_locked():LS(2): closed
system/core/adb/transport.c::readx():readx: fd=11 wanted=4
system/core/adb/transport.c::readx():readx: fd=11 wanted=4 got=4
1f000000 ....
system/core/adb/transport.c::dump_packet():fd=15: from remote: [WRTE] arg0=2 arg1=10 (len=247) 616363740d0a63616368650d0a636f6e acct..cache..con
system/core/adb/transport.c::input_thread():(null): transport got packet, sending to remote
system/core/adb/usb_linux_client.c::usb_write():about to write (fd=9, len=24)
system/core/adb/usb_linux_client.c::usb_write():[ done fd=9 ]
system/core/adb/usb_linux_client.c::usb_write():about to write (fd=9, len=247)
system/core/adb/usb_linux_client.c::usb_write():[ done fd=9 ]
system/core/adb/transport.c::dump_packet():fd=15: from remote: [CLSE] arg0=0 arg1=10 (len=0)
system/core/adb/transport.c::input_thread():(null): transport got packet, sending to remote
system/core/adb/usb_linux_client.c::usb_write():about to write (fd=9, len=24)
system/core/adb/usb_linux_client.c::usb_write():[ done fd=9 ]
system/core/adb/usb_linux_client.c::usb_read():[ done fd=9 ]
system/core/adb/transport.c::output_thread():(null): received remote packet, sending to transport
system/core/adb/transport.c::dump_packet():fd=15: to remote: [OKAY] arg0=10 arg1=2 (len=0)
system/core/adb/usb_linux_client.c::usb_read():about to read (fd=9, len=24)
system/core/adb/transport.c::transport_socket_events():transport_socket_events(fd=14, events=0001,...)
system/core/adb/transport.c::dump_packet():fd=14: from remote: [OKAY] arg0=10 arg1=2 (len=0)
system/core/adb/adb.c::handle_packet():handle_packet() OKAY
system/core/adb/usb_linux_client.c::usb_read():[ done fd=9 ]
system/core/adb/transport.c::output_thread():(null): received remote packet, sending to transport
system/core/adb/transport.c::dump_packet():fd=15: to remote: [CLSE] arg0=0 arg1=2 (len=0)
system/core/adb/usb_linux_client.c::usb_read():about to read (fd=9, len=24)
system/core/adb/transport.c::transport_socket_events():transport_socket_events(fd=14, events=0001,...)
system/core/adb/transport.c::dump_packet():fd=14: from remote: [CLSE] arg0=0 arg1=2 (len=0)
system/core/adb/adb.c::handle_packet():handle_packet() CLSE
system/core/adb/sockets.c::create_local_socket():LS(9): created (fd=7)
system/core/adb/sockets.c::connect_to_smartsocket():Connecting to smart socket
system/core/adb/sockets.c::create_smart_socket():Creating smart socket
system/core/adb/sockets.c::create_smart_socket():SS(0): created 0x8056e70
system/core/adb/sockets.c::local_socket_event_func():LS(9): event_func(fd=7(==7), ev=0001)
system/core/adb/sockets.c::local_socket_event_func():LS(9): post adb_read(fd=7,...) r=16 (errno=0) avail=4096
system/core/adb/sockets.c::local_socket_event_func():LS(9): post adb_read(fd=7,...) r=-1 (errno=11) avail=4080
system/core/adb/sockets.c::local_socket_event_func():LS(9): fd=7 post avail loop. r=-1 is_eof=0 forced_eof=0
system/core/adb/sockets.c::smart_socket_enqueue():SS(0): enqueue 16
system/core/adb/sockets.c::smart_socket_enqueue():SS(0): len is 12
system/core/adb/sockets.c::smart_socket_enqueue():SS(0): 'host:version'
system/core/adb/transport.c::writex():writex: fd=7 len=12: 4f4b41593030303430303164 OKAY0004001d
system/core/adb/sockets.c::smart_socket_enqueue():SS(0): handled host service 'version'
system/core/adb/sockets.c::smart_socket_close():SS(0): closed
system/core/adb/sockets.c::local_socket_close_locked():entered. LS(9) fd=7
system/core/adb/sockets.c::local_socket_destroy():LS(9): destroying fde.fd=7
system/core/adb/sockets.c::local_socket_close_locked():LS(9): closed
system/core/adb/sockets.c::local_socket_event_func():LS(0): fd=7 post peer->enqueue(). r=-1
system/core/adb/sockets.c::create_local_socket():LS(10): created (fd=7)
system/core/adb/sockets.c::connect_to_smartsocket():Connecting to smart socket
system/core/adb/sockets.c::create_smart_socket():Creating smart socket
system/core/adb/sockets.c::create_smart_socket():SS(0): created 0x8056e70
system/core/adb/sockets.c::local_socket_event_func():LS(10): event_func(fd=7(==7), ev=0001)
system/core/adb/sockets.c::local_socket_event_func():LS(10): post adb_read(fd=7,...) r=22 (errno=0) avail=4096
system/core/adb/sockets.c::local_socket_event_func():LS(10): post adb_read(fd=7,...) r=-1 (errno=11) avail=4074
system/core/adb/sockets.c::local_socket_event_func():LS(10): fd=7 post avail loop. r=-1 is_eof=0 forced_eof=0
system/core/adb/sockets.c::smart_socket_enqueue():SS(0): enqueue 22
system/core/adb/sockets.c::smart_socket_enqueue():SS(0): len is 18
system/core/adb/sockets.c::smart_socket_enqueue():SS(0): 'host:transport-any'
system/core/adb/sockets.c::smart_socket_enqueue():SS(0): okay transport
system/core/adb/sockets.c::local_socket_event_func():LS(10): fd=7 post peer->enqueue(). r=0
system/core/adb/sockets.c::local_socket_event_func():LS(10): event_func(fd=7(==7), ev=0001)
system/core/adb/sockets.c::local_socket_event_func():LS(10): post adb_read(fd=7,...) r=4 (errno=0) avail=4096
system/core/adb/sockets.c::local_socket_event_func():LS(10): post adb_read(fd=7,...) r=-1 (errno=11) avail=4092
system/core/adb/sockets.c::local_socket_event_func():LS(10): fd=7 post avail loop. r=-1 is_eof=0 forced_eof=0
system/core/adb/sockets.c::smart_socket_enqueue():SS(0): enqueue 4
system/core/adb/sockets.c::smart_socket_enqueue():SS(0): len is 8
system/core/adb/sockets.c::smart_socket_enqueue():SS(0): waiting for 8 more bytes
system/core/adb/sockets.c::local_socket_event_func():LS(10): fd=7 post peer->enqueue(). r=0
system/core/adb/sockets.c::local_socket_event_func():LS(10): event_func(fd=7(==7), ev=0001)
system/core/adb/sockets.c::local_socket_event_func():LS(10): post adb_read(fd=7,...) r=8 (errno=0) avail=4096
system/core/adb/sockets.c::local_socket_event_func():LS(10): post adb_read(fd=7,...) r=-1 (errno=11) avail=4088
system/core/adb/sockets.c::local_socket_event_func():LS(10): fd=7 post avail loop. r=-1 is_eof=0 forced_eof=0
system/core/adb/sockets.c::smart_socket_enqueue():SS(0): enqueue 8
system/core/adb/sockets.c::smart_socket_enqueue():SS(0): len is 8
system/core/adb/sockets.c::smart_socket_enqueue():SS(0): 'shell:ls'
system/core/adb/sockets.c::connect_to_remote():Connect_to_remote call RS(10) fd=7
system/core/adb/sockets.c::connect_to_remote():LS(10): connect('shell:ls')
system/core/adb/transport.c::dump_packet():0123456789ABCDEF: to remote: [OPEN] arg0=10 arg1=0 (len=9) 7368656c6c3a6c7300 shell:ls.
system/core/adb/sockets.c::smart_socket_close():SS(0): closed
system/core/adb/sockets.c::local_socket_event_func():LS(10): fd=7 post peer->enqueue(). r=1
system/core/adb/transport.c::dump_packet():0123456789ABCDEF: from remote: [OPEN] arg0=10 arg1=0 (len=9) 7368656c6c3a6c7300 shell:ls.
system/core/adb/transport.c::input_thread():0123456789ABCDEF: transport got packet, sending to remote
system/core/adb/usb_linux.c::usb_bulk_write():++ write ++
system/core/adb/usb_linux.c::usb_bulk_read():[ urb @0x9727854 status = 0, actual = 24 ]
system/core/adb/usb_linux.c::usb_bulk_read():[ reap urb - OUT compelete ]
system/core/adb/usb_linux.c::usb_bulk_read():[ reap urb - wait ]
system/core/adb/usb_linux.c::usb_bulk_write():-- write --
system/core/adb/usb_linux.c::usb_bulk_write():++ write ++
system/core/adb/usb_linux.c::usb_bulk_read():[ urb @0x9727854 status = 0, actual = 9 ]
system/core/adb/usb_linux.c::usb_bulk_read():[ reap urb - OUT compelete ]
system/core/adb/usb_linux.c::usb_bulk_read():[ reap urb - wait ]
system/core/adb/usb_linux.c::usb_bulk_write():-- write --
system/core/adb/usb_linux.c::usb_bulk_read():[ urb @0x9727828 status = 0, actual = 24 ]
system/core/adb/usb_linux.c::usb_bulk_read():[ reap urb - IN complete ]
system/core/adb/usb_linux.c::usb_read():[ usb read 24 ] = 24, fname=/dev/bus/usb/001/050
system/core/adb/usb_linux.c::usb_read():-- usb_read --
system/core/adb/transport.c::output_thread():0123456789ABCDEF: received remote packet, sending to transport
system/core/adb/transport.c::dump_packet():0123456789ABCDEF: to remote: [OKAY] arg0=2 arg1=10 (len=0)
system/core/adb/transport.c::transport_socket_events():transport_socket_events(fd=13, events=0001,...)
system/core/adb/usb_linux.c::usb_read():++ usb_read ++
system/core/adb/usb_linux.c::usb_read():[ usb read 24 fd = 10], fname=/dev/bus/usb/001/050
system/core/adb/transport.c::dump_packet():0123456789ABCDEF: from remote: [OKAY] arg0=2 arg1=10 (len=0)
system/core/adb/adb.c::handle_packet():handle_packet() OKAY
system/core/adb/sockets.c::create_remote_socket():RS(2): created
system/core/adb/usb_linux.c::usb_bulk_read():[ reap urb - wait ]
system/core/adb/usb_linux.c::usb_bulk_read():[ urb @0x9727828 status = 0, actual = 24 ]
system/core/adb/usb_linux.c::usb_bulk_read():[ reap urb - IN complete ]
system/core/adb/usb_linux.c::usb_read():[ usb read 24 ] = 24, fname=/dev/bus/usb/001/050
system/core/adb/usb_linux.c::usb_read():-- usb_read --
system/core/adb/usb_linux.c::usb_read():++ usb_read ++
system/core/adb/usb_linux.c::usb_read():[ usb read 247 fd = 10], fname=/dev/bus/usb/001/050
system/core/adb/usb_linux.c::usb_bulk_read():[ reap urb - wait ]
system/core/adb/usb_linux.c::usb_bulk_read():[ urb @0x9727828 status = 0, actual = 247 ]
system/core/adb/usb_linux.c::usb_bulk_read():[ reap urb - IN complete ]
system/core/adb/usb_linux.c::usb_read():[ usb read 247 ] = 247, fname=/dev/bus/usb/001/050
system/core/adb/usb_linux.c::usb_read():-- usb_read --
system/core/adb/transport.c::output_thread():0123456789ABCDEF: received remote packet, sending to transport
system/core/adb/transport.c::dump_packet():0123456789ABCDEF: to remote: [WRTE] arg0=2 arg1=10 (len=247) 616363740d0a63616368650d0a636f6e acct..cache..con
system/core/adb/usb_linux.c::usb_read():++ usb_read ++
system/core/adb/usb_linux.c::usb_read():[ usb read 24 fd = 10], fname=/dev/bus/usb/001/050
system/core/adb/transport.c::transport_socket_events():transport_socket_events(fd=13, events=0001,...)
system/core/adb/usb_linux.c::usb_bulk_read():[ reap urb - wait ]
system/core/adb/transport.c::dump_packet():0123456789ABCDEF: from remote: [WRTE] arg0=2 arg1=10 (len=247) 616363740d0a63616368650d0a636f6e acct..cache..con
system/core/adb/adb.c::handle_packet():handle_packet() WRTE
system/core/adb/sockets.c::local_socket_enqueue():LS(10): enqueue 247
system/core/adb/usb_linux.c::usb_bulk_read():[ urb @0x9727828 status = 0, actual = 24 ]
system/core/adb/usb_linux.c::usb_bulk_read():[ reap urb - IN complete ]
system/core/adb/usb_linux.c::usb_read():[ usb read 24 ] = 24, fname=/dev/bus/usb/001/050
system/core/adb/usb_linux.c::usb_read():-- usb_read --
system/core/adb/transport.c::output_thread():0123456789ABCDEF: received remote packet, sending to transport
system/core/adb/transport.c::dump_packet():0123456789ABCDEF: to remote: [CLSE] arg0=0 arg1=10 (len=0)
system/core/adb/adb.c::handle_packet():Enqueue the socket
system/core/adb/adb.c::send_ready():Calling send_ready
system/core/adb/transport.c::dump_packet():0123456789ABCDEF: to remote: [OKAY] arg0=10 arg1=2 (len=0)
system/core/adb/usb_linux.c::usb_read():++ usb_read ++
system/core/adb/transport.c::transport_socket_events():transport_socket_events(fd=13, events=0001,...)
system/core/adb/usb_linux.c::usb_read():[ usb read 24 fd = 10], fname=/dev/bus/usb/001/050
system/core/adb/transport.c::dump_packet():0123456789ABCDEF: from remote: [OKAY] arg0=10 arg1=2 (len=0)
system/core/adb/usb_linux.c::usb_bulk_read():[ reap urb - wait ]
system/core/adb/transport.c::dump_packet():0123456789ABCDEF: from remote: [CLSE] arg0=0 arg1=10 (len=0)
system/core/adb/adb.c::handle_packet():handle_packet() CLSE
system/core/adb/sockets.c::local_socket_close_locked():entered. LS(10) fd=7
system/core/adb/sockets.c::local_socket_close_locked():LS(10): closing peer. peer->id=2 peer->fd=0
system/core/adb/sockets.c::remote_socket_close():entered remote_socket_close RS(2) CLOSE fd=0 peer->fd=-1
system/core/adb/transport.c::dump_packet():0123456789ABCDEF: to remote: [CLSE] arg0=0 arg1=2 (len=0)
system/core/adb/transport.c::input_thread():0123456789ABCDEF: transport got packet, sending to remote
system/core/adb/usb_linux.c::usb_bulk_write():++ write ++
system/core/adb/sockets.c::remote_socket_close():RS(2): closed
system/core/adb/sockets.c::local_socket_destroy():LS(10): destroying fde.fd=7
system/core/adb/usb_linux.c::usb_bulk_read():[ urb @0x9727854 status = 0, actual = 24 ]
system/core/adb/usb_linux.c::usb_bulk_read():[ reap urb - OUT compelete ]
system/core/adb/sockets.c::local_socket_close_locked():LS(10): closed
system/core/adb/usb_linux.c::usb_bulk_read():[ reap urb - wait ]
system/core/adb/usb_linux.c::usb_bulk_write():-- write --
system/core/adb/transport.c::dump_packet():0123456789ABCDEF: from remote: [CLSE] arg0=0 arg1=2 (len=0)
system/core/adb/transport.c::input_thread():0123456789ABCDEF: transport got packet, sending to remote
system/core/adb/usb_linux.c::usb_bulk_write():++ write ++
system/core/adb/usb_linux.c::usb_bulk_read():[ urb @0x9727854 status = 0, actual = 24 ]
system/core/adb/usb_linux.c::usb_bulk_read():[ reap urb - OUT compelete ]
system/core/adb/usb_linux.c::usb_bulk_read():[ reap urb - wait ]
system/core/adb/usb_linux.c::usb_bulk_write():-- write --
select(14, [4 6 12 13], [], [], NULL) = 1 (in [6])
accept(6, {sa_family=AF_INET, sin_port=htons(59795), sin_addr=inet_addr("127.0.0.1")}, [16]) = 7
fcntl64(7, F_SETFD, FD_CLOEXEC) = 0
setsockopt(7, SOL_SOCKET, SO_RCVBUF, [65536], 4) = 0
fcntl64(7, F_SETFL, O_RDONLY|O_NONBLOCK) = 0
write(2, "system/core/adb/sockets.c::creat"..., 49) = 49
write(2, "LS(9): created (fd=7)\n", 22) = 22
write(2, "system/core/adb/sockets.c::conne"..., 52) = 52
write(2, "Connecting to smart socket \n", 28) = 28
write(2, "system/core/adb/sockets.c::creat"..., 49) = 49
write(2, "Creating smart socket \n", 23) = 23
write(2, "system/core/adb/sockets.c::creat"..., 49) = 49
write(2, "SS(0): created 0x8056e70\n", 25) = 25
select(14, [4 6 7 12 13], [], [], NULL) = 1 (in [7])
write(2, "system/core/adb/sockets.c::local"..., 53) = 53
write(2, "LS(9): event_func(fd=7(==7), ev="..., 38) = 38
read(7, "000chost:version", 4096) = 16
write(2, "system/core/adb/sockets.c::local"..., 53) = 53
write(2, "LS(9): post adb_read(fd=7,...) r"..., 57) = 57
read(7, 0x9727a54, 4080) = -1 EAGAIN (Resource temporarily unavailable)
write(2, "system/core/adb/sockets.c::local"..., 53) = 53
write(2, "LS(9): post adb_read(fd=7,...) r"..., 58) = 58
write(2, "system/core/adb/sockets.c::local"..., 53) = 53
write(2, "LS(9): fd=7 post avail loop. r=-"..., 56) = 56
write(2, "system/core/adb/sockets.c::smart"..., 50) = 50
write(2, "SS(0): enqueue 16\n", 18) = 18
write(2, "system/core/adb/sockets.c::smart"..., 50) = 50
write(2, "SS(0): len is 12\n", 17) = 17
write(2, "system/core/adb/sockets.c::smart"..., 50) = 50
write(2, "SS(0): 'host:version'\n", 22) = 22
write(2, "system/core/adb/transport.c::wri"..., 38) = 38
write(2, "writex: fd=7 len=12: ", 21) = 21
write(2, "4f4b41593030303430303164 OKAY000"..., 38) = 38
write(7, "OKAY0004001d", 12) = 12
write(2, "system/core/adb/sockets.c::smart"..., 50) = 50
write(2, "SS(0): handled host service 'ver"..., 38) = 38
write(2, "system/core/adb/sockets.c::smart"..., 48) = 48
write(2, "SS(0): closed\n", 14) = 14
write(2, "system/core/adb/sockets.c::local"..., 55) = 55
write(2, "entered. LS(9) fd=7\n", 20) = 20
write(2, "system/core/adb/sockets.c::local"..., 50) = 50
write(2, "LS(9): destroying fde.fd=7\n", 27) = 27
close(7) = 0
write(2, "system/core/adb/sockets.c::local"..., 55) = 55
write(2, "LS(9): closed\n", 14) = 14
write(2, "system/core/adb/sockets.c::local"..., 53) = 53
write(2, "LS(0): fd=7 post peer->enqueue()"..., 39) = 39
select(14, [4 6 12 13], [], [], NULL) = 1 (in [6])
accept(6, {sa_family=AF_INET, sin_port=htons(59796), sin_addr=inet_addr("127.0.0.1")}, [16]) = 7
fcntl64(7, F_SETFD, FD_CLOEXEC) = 0
setsockopt(7, SOL_SOCKET, SO_RCVBUF, [65536], 4) = 0
fcntl64(7, F_SETFL, O_RDONLY|O_NONBLOCK) = 0
write(2, "system/core/adb/sockets.c::creat"..., 49) = 49
write(2, "LS(10): created (fd=7)\n", 23) = 23
write(2, "system/core/adb/sockets.c::conne"..., 52) = 52
write(2, "Connecting to smart socket \n", 28) = 28
write(2, "system/core/adb/sockets.c::creat"..., 49) = 49
write(2, "Creating smart socket \n", 23) = 23
write(2, "system/core/adb/sockets.c::creat"..., 49) = 49
write(2, "SS(0): created 0x8056e70\n", 25) = 25
select(14, [4 6 7 12 13], [], [], NULL) = 1 (in [7])
write(2, "system/core/adb/sockets.c::local"..., 53) = 53
write(2, "LS(10): event_func(fd=7(==7), ev"..., 39) = 39
read(7, "0012host:transport-any", 4096) = 22
write(2, "system/core/adb/sockets.c::local"..., 53) = 53
write(2, "LS(10): post adb_read(fd=7,...) "..., 58) = 58
read(7, 0x9727a5a, 4074) = -1 EAGAIN (Resource temporarily unavailable)
write(2, "system/core/adb/sockets.c::local"..., 53) = 53
write(2, "LS(10): post adb_read(fd=7,...) "..., 59) = 59
write(2, "system/core/adb/sockets.c::local"..., 53) = 53
write(2, "LS(10): fd=7 post avail loop. r="..., 57) = 57
write(2, "system/core/adb/sockets.c::smart"..., 50) = 50
write(2, "SS(0): enqueue 22\n", 18) = 18
write(2, "system/core/adb/sockets.c::smart"..., 50) = 50
write(2, "SS(0): len is 18\n", 17) = 17
write(2, "system/core/adb/sockets.c::smart"..., 50) = 50
write(2, "SS(0): 'host:transport-any'\n", 28) = 28
write(7, "OKAY", 4) = 4
write(2, "system/core/adb/sockets.c::smart"..., 50) = 50
write(2, "SS(0): okay transport\n", 22) = 22
write(2, "system/core/adb/sockets.c::local"..., 53) = 53
write(2, "LS(10): fd=7 post peer->enqueue("..., 39) = 39
select(14, [4 6 7 12 13], [], [], NULL) = 1 (in [7])
write(2, "system/core/adb/sockets.c::local"..., 53) = 53
write(2, "LS(10): event_func(fd=7(==7), ev"..., 39) = 39
read(7, "0008", 4096) = 4
write(2, "system/core/adb/sockets.c::local"..., 53) = 53
write(2, "LS(10): post adb_read(fd=7,...) "..., 57) = 57
read(7, 0x972aa20, 4092) = -1 EAGAIN (Resource temporarily unavailable)
write(2, "system/core/adb/sockets.c::local"..., 53) = 53
write(2, "LS(10): post adb_read(fd=7,...) "..., 59) = 59
write(2, "system/core/adb/sockets.c::local"..., 53) = 53
write(2, "LS(10): fd=7 post avail loop. r="..., 57) = 57
write(2, "system/core/adb/sockets.c::smart"..., 50) = 50
write(2, "SS(0): enqueue 4\n", 17) = 17
write(2, "system/core/adb/sockets.c::smart"..., 50) = 50
write(2, "SS(0): len is 8\n", 16) = 16
write(2, "system/core/adb/sockets.c::smart"..., 50) = 50
write(2, "SS(0): waiting for 8 more bytes\n", 32) = 32
write(2, "system/core/adb/sockets.c::local"..., 53) = 53
write(2, "LS(10): fd=7 post peer->enqueue("..., 39) = 39
select(14, [4 6 7 12 13], [], [], NULL) = 1 (in [7])
write(2, "system/core/adb/sockets.c::local"..., 53) = 53
write(2, "LS(10): event_func(fd=7(==7), ev"..., 39) = 39
read(7, "shell:ls", 4096) = 8
write(2, "system/core/adb/sockets.c::local"..., 53) = 53
write(2, "LS(10): post adb_read(fd=7,...) "..., 57) = 57
read(7, 0x972aa24, 4088) = -1 EAGAIN (Resource temporarily unavailable)
write(2, "system/core/adb/sockets.c::local"..., 53) = 53
write(2, "LS(10): post adb_read(fd=7,...) "..., 59) = 59
write(2, "system/core/adb/sockets.c::local"..., 53) = 53
write(2, "LS(10): fd=7 post avail loop. r="..., 57) = 57
write(2, "system/core/adb/sockets.c::smart"..., 50) = 50
write(2, "SS(0): enqueue 8\n", 17) = 17
write(2, "system/core/adb/sockets.c::smart"..., 50) = 50
write(2, "SS(0): len is 8\n", 16) = 16
write(2, "system/core/adb/sockets.c::smart"..., 50) = 50
write(2, "SS(0): 'shell:ls'\n", 18) = 18
write(2, "system/core/adb/sockets.c::conne"..., 47) = 47
write(2, "Connect_to_remote call RS(10) fd"..., 35) = 35
write(2, "system/core/adb/sockets.c::conne"..., 47) = 47
write(2, "LS(10): connect('shell:ls')\n", 28) = 28
write(2, "system/core/adb/transport.c::dum"..., 43) = 43
write(2, "0123456789ABCDEF: to remote: [OP"..., 59) = 59
write(2, "7368656c6c3a6c7300 shell:ls.\n", 29) = 29
write(13, "\370\251r\t", 4) = 4
write(2, "system/core/adb/sockets.c::smart"..., 48) = 48
write(2, "SS(0): closed\n", 14) = 14
write(2, "system/core/adb/sockets.c::local"..., 53) = 53
write(2, "LS(10): fd=7 post peer->enqueue("..., 39) = 39
futex(0x806e548, FUTEX_WAKE_PRIVATE, 1) = 0
select(14, [4 6 12 13], [], [], NULL) = 1 (in [13])
write(2, "system/core/adb/transport.c::tra"..., 55) = 55
write(2, "transport_socket_events(fd=13, e"..., 48) = 48
futex(0x806e548, FUTEX_WAKE_PRIVATE, 1) = 0
read(13, "\320\231r\t", 4) = 4
futex(0x806e548, FUTEX_WAIT_PRIVATE, 2, NULL) = 0
futex(0x806e548, FUTEX_WAIT_PRIVATE, 2, NULL) = 0
write(2, "system/core/adb/transport.c::dum"..., 43) = 43
write(2, "0123456789ABCDEF: from remote: ["..., 61) = 61
futex(0x806e548, FUTEX_WAKE_PRIVATE, 1) = 1
write(2, " \n", 2) = 2
futex(0x806e548, FUTEX_WAKE_PRIVATE, 1) = 1
write(2, "system/core/adb/adb.c::handle_pa"..., 39) = 39
write(2, "handle_packet() OKAY\n", 21) = 21
futex(0x806e548, FUTEX_WAKE_PRIVATE, 1) = 1
write(2, "system/core/adb/sockets.c::creat"..., 50) = 50
write(2, "RS(2): created\n", 15) = 15
futex(0x806e548, FUTEX_WAKE_PRIVATE, 1) = 1
write(7, "OKAY", 4) = 4
select(14, [4 6 7 12 13], [], [], NULL) = 1 (in [13])
futex(0x806e548, FUTEX_WAIT_PRIVATE, 2, NULL) = 0
futex(0x806e548, FUTEX_WAIT_PRIVATE, 2, NULL) = 0
write(2, "system/core/adb/transport.c::tra"..., 55) = 55
write(2, "transport_socket_events(fd=13, e"..., 48) = 48
futex(0x806e548, FUTEX_WAKE_PRIVATE, 1) = 1
read(13, "\310yr\t", 4) = 4
futex(0x806e548, FUTEX_WAIT_PRIVATE, 2, NULL) = 0
write(2, "system/core/adb/transport.c::dum"..., 43) = 43
write(2, "0123456789ABCDEF: from remote: ["..., 63) = 63
futex(0x806e548, FUTEX_WAKE_PRIVATE, 1) = 1
write(2, "616363740d0a63616368650d0a636f6e"..., 50) = 50
futex(0x806e548, FUTEX_WAKE_PRIVATE, 1) = 1
write(2, "system/core/adb/adb.c::handle_pa"..., 39) = 39
write(2, "handle_packet() WRTE\n", 21) = 21
futex(0x806e548, FUTEX_WAKE_PRIVATE, 1) = 1
write(2, "system/core/adb/sockets.c::local"..., 50) = 50
write(2, "LS(10): enqueue 247\n", 20) = 20
futex(0x806e548, FUTEX_WAKE_PRIVATE, 1) = 1
write(7, "acct\r\ncache\r\nconfig\r\nd\r\ndata\r\nde"..., 247) = 247
futex(0x806e548, FUTEX_WAIT_PRIVATE, 2, NULL) = 0
futex(0x806e548, FUTEX_WAIT_PRIVATE, 2, NULL) = 0
futex(0x806e548, FUTEX_WAIT_PRIVATE, 2, NULL) = 0
futex(0x806e548, FUTEX_WAIT_PRIVATE, 2, NULL) = 0
futex(0x806e548, FUTEX_WAIT_PRIVATE, 2, NULL) = 0
futex(0x806e548, FUTEX_WAIT_PRIVATE, 2, NULL) = 0
futex(0x806e548, FUTEX_WAIT_PRIVATE, 2, NULL) = 0
write(2, "system/core/adb/adb.c::handle_pa"..., 39) = 39
write(2, "Enqueue the socket\n", 19) = 19
futex(0x806e548, FUTEX_WAKE_PRIVATE, 1) = 1
write(2, "system/core/adb/adb.c::send_read"..., 36) = 36
write(2, "Calling send_ready \n", 20) = 20
futex(0x806e548, FUTEX_WAKE_PRIVATE, 1) = 1
write(2, "system/core/adb/transport.c::dum"..., 43) = 43
write(2, "0123456789ABCDEF: to remote: [OK"..., 59) = 59
futex(0x806e548, FUTEX_WAKE_PRIVATE, 1) = 1
write(2, " \n", 2) = 2
futex(0x806e548, FUTEX_WAKE_PRIVATE, 1) = 1
write(13, "\370\251r\t", 4) = 4
select(14, [4 6 7 12 13], [], [], NULL) = 1 (in [13])
write(2, "system/core/adb/transport.c::tra"..., 55) = 55
write(2, "transport_socket_events(fd=13, e"..., 48) = 48
futex(0x806e548, FUTEX_WAKE_PRIVATE, 1) = 1
read(13, "\320\231r\t", 4) = 4
futex(0x806e548, FUTEX_WAIT_PRIVATE, 2, NULL) = 0
futex(0x806e548, FUTEX_WAIT_PRIVATE, 2, NULL) = 0
write(2, "system/core/adb/transport.c::dum"..., 43) = 43
write(2, "0123456789ABCDEF: from remote: ["..., 61) = 61
futex(0x806e548, FUTEX_WAKE_PRIVATE, 1) = 1
write(2, " \n", 2) = 2
futex(0x806e548, FUTEX_WAKE_PRIVATE, 1) = 1
write(2, "system/core/adb/adb.c::handle_pa"..., 39) = 39
write(2, "handle_packet() CLSE\n", 21) = 21
futex(0x806e548, FUTEX_WAKE_PRIVATE, 1) = 1
write(2, "system/core/adb/sockets.c::local"..., 55) = 55
write(2, "entered. LS(10) fd=7\n", 21) = 21
futex(0x806e548, FUTEX_WAKE_PRIVATE, 1) = 1
write(2, "system/core/adb/sockets.c::local"..., 55) = 55
write(2, "LS(10): closing peer. peer->id=2"..., 44) = 44
futex(0x806e548, FUTEX_WAKE_PRIVATE, 1) = 1
write(2, "system/core/adb/sockets.c::remot"..., 49) = 49
write(2, "entered remote_socket_close RS(2"..., 57) = 57
futex(0x806e548, FUTEX_WAKE_PRIVATE, 1) = 1
write(2, "system/core/adb/transport.c::dum"..., 43) = 43
write(2, "0123456789ABCDEF: to remote: [CL"..., 58) = 58
futex(0x806e548, FUTEX_WAKE_PRIVATE, 1) = 1
write(2, " \n", 2) = 2
futex(0x806e548, FUTEX_WAKE_PRIVATE, 1) = 1
write(13, " \272r\t", 4) = 4
futex(0x806e548, FUTEX_WAIT_PRIVATE, 2, NULL) = 0
futex(0x806e548, FUTEX_WAIT_PRIVATE, 2, NULL) = 0
write(2, "system/core/adb/sockets.c::remot"..., 49) = 49
write(2, "RS(2): closed\n", 14) = 14
futex(0x806e548, FUTEX_WAKE_PRIVATE, 1) = 0
write(2, "system/core/adb/sockets.c::local"..., 50) = 50
write(2, "LS(10): destroying fde.fd=7\n", 28) = 28
futex(0x806e548, FUTEX_WAKE_PRIVATE, 1) = 0
close(7) = 0
futex(0x806e548, FUTEX_WAIT_PRIVATE, 2, NULL) = 0
futex(0x806e548, FUTEX_WAIT_PRIVATE, 2, NULL) = 0
write(2, "system/core/adb/sockets.c::local"..., 55) = 55
write(2, "LS(10): closed\n", 15) = 15
futex(0x806e548, FUTEX_WAKE_PRIVATE, 1) = 1
select(14, [4 6 12 13], [], [], NULL
acct
cache
config
d
data
default.prop
dev
etc
init
init.goldfish.rc
init.kzm9d.rc
init.rc
init.rc.adbd_strace
init.rc.org
initlogo.rle
mnt
proc
sbin
sdcard
sys
system
ueventd.goldfish.rc
ueventd.kzm9d.rc
ueventd.rc
vendor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment