Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bpftrace aborts if positional parameter used and no parameter supplied #717

Closed
tyroguru opened this issue Jun 4, 2019 · 0 comments · Fixed by #723
Closed

bpftrace aborts if positional parameter used and no parameter supplied #717

tyroguru opened this issue Jun 4, 2019 · 0 comments · Fixed by #723
Assignees
Labels
bug Something isn't working
Milestone

Comments

@tyroguru
Copy link
Contributor

tyroguru commented Jun 4, 2019

# cat b.t
tracepoint:syscalls:sys_enter_*
/pid == $1/
{
  @[pid,tid,comm] = count();
}

#  /tmp/bpftrace ./b.bt
terminate called after throwing an instance of 'std::out_of_range'
  what():  vector::_M_range_check: __n (which is 0) >= this->size() (which is 0)
Aborted (core dumped)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants