diff options
| author | Petr Vorel <[email protected]> | 2022-09-01 21:44:03 +0200 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2022-09-11 21:55:12 -0700 |
| commit | bfca3dd3d0680fc2fc7f659a152234afbac26e4d (patch) | |
| tree | 31be270b66428d2ea0ebfa65b55c2f3d5d015b3b /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 8ea0114eda0c1c85f8f01922ac8fc1e489a61129 (diff) | |
kernel/utsname_sysctl.c: print kernel arch
Print the machine hardware name (UTS_MACHINE) in /proc/sys/kernel/arch.
This helps people who debug kernel with initramfs with minimal environment
(i.e. without coreutils or even busybox) or allow to open sysfs file
instead of run 'uname -m' in high level languages.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Petr Vorel <[email protected]>
Acked-by: Greg Kroah-Hartman <[email protected]>
Cc: David Sterba <[email protected]>
Cc: "Eric W . Biederman" <[email protected]>
Cc: Rafael J. Wysocki <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions