summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Hill <daniel@enemyplanet.geek.nz>2022-03-20 17:02:18 +1300
committerGitHub <noreply@github.com>2022-03-20 17:02:18 +1300
commit55ff878cd41aa29277c74cc68bcad76d978d74db (patch)
tree1a8b9c28ee0931aa88a5521e4f278e83fd03f978
parentc4adcc1f93849d825f93d2c1dda499d537e775f0 (diff)
Update bug_report.md
Remove redundant & clarify profiling tips.
-rw-r--r--.github/ISSUE_TEMPLATE/bug_report.md12
1 files changed, 7 insertions, 5 deletions
diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md
index 8af34357dd98..52502c4b26d2 100644
--- a/.github/ISSUE_TEMPLATE/bug_report.md
+++ b/.github/ISSUE_TEMPLATE/bug_report.md
@@ -31,7 +31,7 @@ If you get an assert/segfault etc:
* type `bt` in to and provide the output here.
If the tools lockup:
-* run `perf top -p $(pidof bcachefs)` and provide a screenshot.
+* If it's spinning on CPU, See advanced section else:
* press ctrl+c to interrupt the process and provide the output of `bt`.
**Kernel bugs**
@@ -51,11 +51,13 @@ Provide the output of `dmesg` either in a paste-bin or as attachment, if less th
**Optional Advanced**
-If lockup or performance issues:
-* run `perf record` and `perf record -e 'bcachefs:*' -o events.data` both during the window of issue and then ctrl+c.
+If performance issues:
+* run `perf record` (add `-p $(pidof bcachefs)` for tools)
+* and if it's for kernel `perf record -e 'bcachefs:*' -o events.data` both during the window of issue and then ctrl+c.
* run `perf archive` to dump symbols.
* archive, compress and upload the files: `perf.data`, `events.data` and `perf.data.tar.bz2`.
Upload large files to a file storage provider:
-* provide the output of `bcachefs list_journal -a <list of devices> | zstd -f -T0 -o ../journal.log.zst`
-*compress & upload all the `metdata.dump.*` files from: bcachefs dump -o metadata.dump <list of devices>
+
+* provide the output of `bcachefs list_journal -a <list of devices> | zstd -f -T0 -o ./journal.log.zst`
+* compress & upload all the `metdata.dump.*` files from: bcachefs dump -o metadata.dump <list of devices>