This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug bpf/23510] New: Tapset function println() not supported in the bpf runtime


https://sourceware.org/bugzilla/show_bug.cgi?id=23510

            Bug ID: 23510
           Summary: Tapset function println() not supported in the bpf
                    runtime
           Product: systemtap
           Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: bpf
          Assignee: systemtap at sourceware dot org
          Reporter: agentzh at gmail dot com
  Target Milestone: ---

The `println()` tapset function is not recognized in the bpf runtime mode:

```
$ stap --bpf -e 'probe begin { println("hello world") exit() }'
semantic error: unhandled statement or expression type: string 'hello world' at
<input>:1:23
        source: probe begin { println( ... hello world ... "hello world")
exit() }
                                           ^

Pass 4: compilation failed.  [man error::pass4]
```

Because it can be a popular choice for testing the bpf runtime with a hello
world one-liner, it would be great if we can have it implemented ;)

-- 
You are receiving this mail because:
You are the assignee for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]