File: languages

package info (click to toggle)
bpftrace 0.24.1-1.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 10,496 kB
  • sloc: cpp: 60,982; ansic: 10,952; python: 953; yacc: 665; sh: 536; lex: 295; makefile: 22
file content (16 lines) | stat: -rw-r--r-- 791 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# This only tests for the presence of mangled rust probe names. We need to add
# support for automatically unmangling the names (and include the 'rust'
# language type).
NAME uprobes - list rust uprobes (mangled)
REQUIRES testprogs/hello_rust
RUN {{BPFTRACE}} -l 'uprobe:./testprogs/hello_rust:*'
EXPECT_REGEX uprobe:./testprogs/hello_rust.*fun1

# This only tests for the presence of the builtin symbol `runtime.schedule`.
# Argument unpacking and other things will *not* be supported in Go for a
# while, since the calling convention is different. But useful analysis can
# still be done with the basics.
NAME uprobes - list Go uprobes (no arguments)
REQUIRES testprogs/hello_go
RUN {{BPFTRACE}} -l 'uprobe:./testprogs/hello_go:*'
EXPECT_REGEX uprobe:./testprogs/hello_go:runtime.schedule