iovisor / iovisor/bcc

stackcount failure

Open
#2,818 11 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
22.7k
Forks
4.1k
Avg merge
10d 4h
Merged PRs (30d)
3

Description

Also I am trying the code listing in page 101 of the book "BPF Performance Tools". The code is,
```
stackcount -f -P -D 10 ktime_get > out.stackcount01.txt
```
A file named out.stackcount01.txt is created but it reads,
```
sequence item 1: expected str instance, bytes found
```
The OS is a SLES 15 SP1 with kernel version 4.12.14-197.34-default. The Python version is 3.6.10.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the exact stackcount command from the issue on the reported SLES, kernel, and Python versions, then trace where its output handling produces the bytes/str error. Done means the command completes without the exception and out.stackcount01.txt contains the expected stack-count output.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux, python, shell
Domain
observability, operating-systems, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.