Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Linux/samples/trace_events/   (Open Source Betriebssystem Version 6.17.9©)  Datei vom 24.10.2025 mit Größe 704 B image not shown  

Quelle  Makefile   Sprache: unbekannt

 
SPDX-License-Identifier: GPL-2.0-only
builds the trace events example kernel modules;
then to use one (as root):  insmod <module_name.ko>

If you include a trace header outside of include/trace/events
then the file that does the #define CREATE_TRACE_POINTS must
have that tracer file in its main search path. This is because
define_trace.h will include it, and must be able to find it from
the include/trace directory.
java.lang.NullPointerException
Here trace-events-sample.c does the CREATE_TRACE_POINTS.
java.lang.NullPointerException
CFLAGS_trace-events-sample.o := -I$(src)
CFLAGS_trace_custom_sched.o := -I$(src)

obj-$(CONFIG_SAMPLE_TRACE_EVENTS) += trace-events-sample.o
obj-$(CONFIG_SAMPLE_TRACE_CUSTOM_EVENTS) += trace_custom_sched.o

Messung V0.5
C=96 H=97 G=96

[ Dauer der Verarbeitung: 0.15 Sekunden  (vorverarbeitet)  ]