]> git.proxmox.com Git - mirror_qemu.git/commit - trace/ftrace.c
trace: Try using tracefs first
authorNamhyung Kim <namhyung@gmail.com>
Tue, 7 Nov 2017 15:31:36 +0000 (00:31 +0900)
committerStefan Hajnoczi <stefanha@redhat.com>
Mon, 18 Dec 2017 14:37:36 +0000 (14:37 +0000)
commitc9add6219514b20223f024584f0464b8842b1ec0
tree8a80fb8d377602e7180d4b732a5c7da06d9c8592
parentbabfff8e11589a2d1ab9ca777ebb16495f708616
trace: Try using tracefs first

Recent Linux kernel provides separate tracefs which doesn't need to be
mounted on the debugfs.  Although most systems mount it at the
traditional place on the debugfs, it'd be safer to check tracefs first.

Signed-off-by: Namhyung Kim <namhyung@gmail.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
trace/ftrace.c