1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-16 18:01:40 +00:00

Update some old Minetest references in docs

This commit is contained in:
sfan5 2025-08-09 11:57:45 +02:00
parent 0b21c93324
commit 7a99fdf490
3 changed files with 4 additions and 4 deletions

View file

@ -15,7 +15,7 @@ Notable pages:
## In this folder
- [docker.md](docker.md): Developing minetestserver with Docker
- [docker.md](docker.md): Developing luantiserver with Docker
- [android.md](android.md): Android tips & tricks
- [os-compatibility.md](os-compatibility.md): OS/library compatibility policy
- [profiling.md](profiling.md): Profiling instructions

View file

@ -26,7 +26,7 @@ adb install -r -d ./app-arm64-v8a-release-unsigned.apk
In case debug.txt isn't enough (e.g. when debugging a crash), you can get debug
output using logcat:
`adb logcat -s 'Minetest:*' '*:F'`
`adb logcat -s Luanti '*:F'`
Note that you can do this even *after* the app has crashed,
since Android keeps an internal buffer.

View file

@ -22,12 +22,12 @@ It will give you flamegraphs, per-thread, per-function views and much more.
Attach perf to your running server, press *^C* to stop:
```bash
perf record -z --call-graph dwarf -F 400 -p "$(pidof minetestserver)"
perf record -z --call-graph dwarf -F 400 -p "$(pidof luantiserver)"
```
Collect a copy of the required libraries/executables:
```bash
perf buildid-list | grep -Eo '/[^ ]+(minetestserver|\.so)[^ ]*$' | \
perf buildid-list | grep -Eo '/[^ ]+(luantiserver|\.so)[^ ]*$' | \
tar -cvahf debug.tgz --files-from=- --ignore-failed-read
```