mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 18:41:58 +09:00
ANDROID: KVM: arm64: Move hyp events in a hyp/ folder
Align with the host tracing events by adding another layer in the event path. As no group exists at the moment, move all of them in a common hyp/ one. Bug: 249050813 Change-Id: I4c77d1ec676f896bba77f147e0a4b30bc9c92606 Signed-off-by: Vincent Donnefort <vdonnefort@google.com>
This commit is contained in:
@@ -333,6 +333,12 @@ void kvm_hyp_init_events_tracefs(struct dentry *parent)
|
||||
if (!d)
|
||||
pr_err("Failed to create events/header_page\n");
|
||||
|
||||
parent = tracefs_create_dir("hyp", parent);
|
||||
if (!parent) {
|
||||
pr_err("Failed to create tracefs folder for hyp events\n");
|
||||
return;
|
||||
}
|
||||
|
||||
for (; (unsigned long)event < (unsigned long)__hyp_events_end; event++) {
|
||||
event_dir = tracefs_create_dir(event->name, parent);
|
||||
if (!event_dir) {
|
||||
|
||||
Reference in New Issue
Block a user