We can't seem to build a workload with ftrace enabled.
To reproduce: create a workload with the following in its linux-config kfrag:
CONFIG_FUNCTION_TRACER=y
CONFIG_FUNCTION_GRAPH_TRACER=y
# CONFIG_PREEMPTIRQ_EVENTS is not set
# CONFIG_IRQSOFF_TRACER is not set
# CONFIG_SCHED_TRACER is not set
# CONFIG_HWLAT_TRACER is not set
CONFIG_FTRACE_SYSCALLS=y
# CONFIG_TRACER_SNAPSHOT is not set
CONFIG_BRANCH_PROFILE_NONE=y
# CONFIG_PROFILE_ANNOTATED_BRANCHES is not set
# CONFIG_PROFILE_ALL_BRANCHES is not set
CONFIG_STACK_TRACER=y
# CONFIG_BLK_DEV_IO_TRACE is not set
CONFIG_UPROBE_EVENTS=y
CONFIG_DYNAMIC_EVENTS=y
CONFIG_PROBE_EVENTS=y
CONFIG_DYNAMIC_FTRACE=y
CONFIG_DYNAMIC_FTRACE_WITH_REGS=y
Attempt to build the workload once to generate the kconfig:
$ ./marshal build test-workload.json
It will fail. To get a clearer error, try to build a driver directly:
$ cd boards/firechip/drivers/iceblk-driver
$ make LINUXSRC=../../../../riscv-linux/
Initially brought by hzhuo2@wisc.edu
We can't seem to build a workload with ftrace enabled.
To reproduce: create a workload with the following in its linux-config kfrag:
Attempt to build the workload once to generate the kconfig:
$ ./marshal build test-workload.json
It will fail. To get a clearer error, try to build a driver directly: