summaryrefslogtreecommitdiff
path: root/modules/benchmark.c
diff options
context:
space:
mode:
authorhwspeedy <ns@bigbear.dk>2024-03-17 04:53:50 +0100
committerhwspeedy <ns@bigbear.dk>2024-03-17 04:53:50 +0100
commitbc055cb6d4ac04540f8c5f9f8cfba4bacfa25da8 (patch)
tree21d3a8a2e6a8c64f68d5ca9a8c0ae17c9cee4a8c /modules/benchmark.c
parent44469bbf6adc7cf2e00e2d53f38aeccbde7038b7 (diff)
FIX Adding linux kernel and os to benchmark
Diffstat (limited to 'modules/benchmark.c')
-rw-r--r--modules/benchmark.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/benchmark.c b/modules/benchmark.c
index 59f81501..743441a5 100644
--- a/modules/benchmark.c
+++ b/modules/benchmark.c
@@ -835,7 +835,8 @@ static gchar *get_benchmark_results(gsize *len)
ADD_JSON_VALUE(int, "MachineDataVersion",
this_machine->machine_data_version);
ADD_JSON_VALUE(string, "MachineType", this_machine->machine_type);
-
+ ADD_JSON_VALUE(string, "LinuxKernel", this_machine->linux_kernel);
+ ADD_JSON_VALUE(string, "LinuxOS", this_machine->linux_os);
ADD_JSON_VALUE(boolean, "Legacy", FALSE);
ADD_JSON_VALUE(string, "ExtraInfo", bench_results[i].extra);
ADD_JSON_VALUE(string, "UserNote", bench_results[i].user_note);