File: dbug.exp

package info (click to toggle)
systemtap 5.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 47,556 kB
  • sloc: cpp: 81,117; ansic: 54,933; xml: 49,795; exp: 43,595; sh: 11,526; python: 5,003; perl: 2,252; tcl: 1,312; makefile: 1,006; javascript: 149; lisp: 105; awk: 101; asm: 91; java: 70; sed: 16
file content (30 lines) | stat: -rw-r--r-- 781 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
set test "dbug"
set ::result_string {begin:1: debug line 1
begin:2: debug line 2
begin:3: debug line 3
begin:4: debug line 4
begin:5: debug line 5
begin:6: debug line 6
begin:7: debug line 7
begin:8: debug line 8
begin:9: debug line 9
begin:10: debug line 10
begin:11: debug line 11
begin:12: debug line 12
begin:13: debug line 13
begin:14: debug line 14
begin:15: debug line 15
begin:16: debug line 16
begin:17: debug line 17
WARNING: finished}

foreach runtime [get_runtime_list] {
    if {$runtime != ""} {
	# Use STP_LOG_BUF_ENTRIES_SHIFT to set the number of log
	# buffers to a small number to stress the log buffers.
	stap_run2 $srcdir/$subdir/$test.stp -DSTP_LOG_BUF_ENTRIES_SHIFT=2 \
	    -g --runtime=$runtime
    } else {
	stap_run2 $srcdir/$subdir/$test.stp -g
    }
}