Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'trace-tools-v6.10-2' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace

Pull tracing tool fix from Steven Rostedt:
"Fix printf format warnings in latency-collector.

Use the printf format string with %s to take a string instead of
taking in a string directly"

* tag 'trace-tools-v6.10-2' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace:
tools/latency-collector: Fix -Wformat-security compile warns

+4 -4
+4 -4
tools/tracing/latency/latency-collector.c
··· 935 935 } 936 936 937 937 if (!tracers) { 938 - warnx(no_tracer_msg); 938 + warnx("%s", no_tracer_msg); 939 939 return; 940 940 } 941 941 942 942 if (!found) { 943 - warnx(no_latency_tr_msg); 943 + warnx("%s", no_latency_tr_msg); 944 944 tracefs_list_free(tracers); 945 945 return; 946 946 } ··· 983 983 for (i = 0; relevant_tracers[i]; i++) { 984 984 valid = tracer_valid(relevant_tracers[i], &notracer); 985 985 if (notracer) 986 - errx(EXIT_FAILURE, no_tracer_msg); 986 + errx(EXIT_FAILURE, "%s", no_tracer_msg); 987 987 if (valid) 988 988 return relevant_tracers[i]; 989 989 } ··· 1878 1878 } 1879 1879 valid = tracer_valid(current_tracer, &notracer); 1880 1880 if (notracer) 1881 - errx(EXIT_FAILURE, no_tracer_msg); 1881 + errx(EXIT_FAILURE, "%s", no_tracer_msg); 1882 1882 if (!valid) 1883 1883 errx(EXIT_FAILURE, 1884 1884 "The tracer %s is not supported by your kernel!\n", current_tracer);