perf spark: Fix includes and add SPDX
authorIan Rogers <irogers@google.com>
Thu, 10 Jul 2025 23:51:16 +0000 (16:51 -0700)
committerNamhyung Kim <namhyung@kernel.org>
Fri, 11 Jul 2025 19:36:40 +0000 (12:36 -0700)
commitbcc7693ad100ef9c778621edee2295b8c02f2271
tree573b5d6c044f16b7f701e8da10b35fb7eb56b3b7
parent679c098cd2db458b1899e4410150d41a550ec6d6
perf spark: Fix includes and add SPDX

scnprintf is declared in linux/kernel.h, directly depend upon it.
Add missing SPDX comments.

Signed-off-by: Ian Rogers <irogers@google.com>
Link: https://lore.kernel.org/r/20250710235126.1086011-4-irogers@google.com
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
tools/perf/util/spark.c
tools/perf/util/spark.h