diff options
| author | Rui Qi <qirui.001@bytedance.com> | 2026-08-07 16:15:11 +0800 |
|---|---|---|
| committer | Masami Hiramatsu (Google) <mhiramat@kernel.org> | 2026-08-08 01:06:59 +0900 |
| commit | c13fcd3951dcc19524ce0b3e852844b16cd32b22 (patch) | |
| tree | 267813b4c8c4975ef9ec52ae3a98b56c43485823 /scripts/stackusage | |
| parent | c00e735410d7269c0c655219cf42846da6b435c7 (diff) | |
| download | linux-c13fcd3951dcc19524ce0b3e852844b16cd32b22.tar.gz linux-c13fcd3951dcc19524ce0b3e852844b16cd32b22.zip | |
selftests/ftrace: Force C locale in ftracetest
Some ftracetest test cases parse command output by matching English
field names. Tools such as readelf may localize their output via
gettext, while ftracetest currently inherits the user locale from
the environment.
If a translated field name is printed, parsing can fail even though
the tested kernel behavior is unchanged. For example, add_remove_uprobe
can fail to find the ELF entry point and then write a uprobe event with
a missing offset.
Export LC_ALL=C in the top-level ftracetest runner so every test case
gets stable command output by default.
Link: https://lore.kernel.org/all/20260807081512.2974757-2-qirui.001@bytedance.com/
Signed-off-by: Rui Qi <qirui.001@bytedance.com>
Signed-off-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions
