Commit "perf test 6: Fix missing kvm module load for s390" (Upstream
commit 53fe307dfd309e425b171f6272d64296a54f4dff) causes a build failure
for s390x and needed to be amended with the following change:

--- a/tools/perf/tests/parse-events.c
+++ b/tools/perf/tests/parse-events.c
@@ -29,7 +29,7 @@ static bool kvm_s390_create_vm_valid(void)
        char *eventfile;
        bool rc = false;
 
-       eventfile = get_events_file("kvm-s390");
+       eventfile = get_tracing_file("events/kvm-s390");
 
        if (eventfile) {
                DIR *mydir = opendir(eventfile);
@@ -38,7 +38,7 @@ static bool kvm_s390_create_vm_valid(void)
                        rc = true;
                        closedir(mydir);
                }
-               put_events_file(eventfile);
+               put_tracing_file(eventfile);
        }
 
        return rc;

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1839036

Title:
  Bionic update: upstream stable patchset 2019-08-05

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1839036/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to