dtrace4linux/linux — Issue #17: Simple dtraces not working
Author: msabramo
Created: 2012-02-29 23:21:10+00:00
State: open

Shouldn't this work?

```
marca@ubuntu:~/src/dtrace4linux/newlinux/tests$ sudo dtrace -n 'pid$target:::entry' -c '/bin/uname'
aux[0]: type=32
aux[1]: type=33
aux[2]: type=16
aux[3]: type=6
aux[4]: type=17
aux[5]: type=3
aux[6]: type=4
aux[7]: type=5
aux[8]: type=7
aux[9]: type=8
aux[10]: type=9
aux[11]: type=11
aux[12]: type=12
aux[13]: type=13
aux[14]: type=14
aux[15]: type=23
aux[16]: type=25
aux[17]: type=31
aux[18]: type=15
aux[19]: type=0
in Pupdate_maps (check for 64b maps!)
in Pupdate_maps (check: pr_mapname is big enough PRMAPSZ=64)
rd_new:rd_new
rd_loadobj_iter
proc-stub:rd_event_enable
proc-stub:rd_errstr err=26
Build symtab /usr/sbin/dtrace
found section .interp
found section .note.ABI-tag
found section .note.gnu.build-id
found section .hash
found section .gnu.hash
found section .dynsym
found section .dynstr
found section .gnu.version
found section .gnu.version_r
found section .rel.dyn
found section .rel.plt
found section .init
found section .plt
found section .text
found section .fini
found section .rodata
found section .eh_frame_hdr
found section .eh_frame
found section .ctors
found section .dtors
found section .jcr
found section .dynamic
found section .got
found section .got.plt
found section .data
found section .bss
found section .comment
found section .debug_aranges
found section .debug_pubnames
found section .debug_info
found section .debug_abbrev
found section .debug_line
found section .debug_frame
found section .debug_str
found section .debug_loc
found section .debug_ranges
found section .shstrtab
found section .symtab
found section .strtab
plt at 0x9ef5cd0
sym_by_name_binary: NOT found _PROCEDURE_LINKAGE_TABLE_
Pxlookup_by_name 'main' a.out 0x9ef5814 0x9ef4994
sym_by_name_binary: found main
dtrace: invalid probe specifier pid$target:::entry: "/usr/lib/dtrace/sched.d", line 60: no symbolic type information is available for kernel`dtrace_cpu_id: Invalid argument
dt_proc_destroy flags=37748737
User defined signal 1
```