resctrlfs.c (4e5cb354c85eafe88709cefc2fdce4911fb6ac17) | resctrlfs.c (e75074781f1735c1976bc551e29ccf2ba9a4b17f) |
---|---|
1// SPDX-License-Identifier: GPL-2.0 2/* 3 * Basic resctrl file system operations 4 * 5 * Copyright (C) 2018 Intel Corporation 6 * 7 * Authors: 8 * Sai Praneeth Prakhya <sai.praneeth.prakhya@intel.com>, --- 556 unchanged lines hidden (view full) --- 565 566 if (res) { 567 ret = true; 568 free(res); 569 } 570 571 fclose(inf); 572 | 1// SPDX-License-Identifier: GPL-2.0 2/* 3 * Basic resctrl file system operations 4 * 5 * Copyright (C) 2018 Intel Corporation 6 * 7 * Authors: 8 * Sai Praneeth Prakhya <sai.praneeth.prakhya@intel.com>, --- 556 unchanged lines hidden (view full) --- 565 566 if (res) { 567 ret = true; 568 free(res); 569 } 570 571 fclose(inf); 572 |
573 ksft_print_msg("%s kernel supports resctrl filesystem\n", | 573 ksft_print_msg("%s Check kernel supports resctrl filesystem\n", |
574 ret ? "Pass:" : "Fail:"); 575 576 if (!ret) 577 return ret; 578 579 dp = opendir(RESCTRL_PATH); | 574 ret ? "Pass:" : "Fail:"); 575 576 if (!ret) 577 return ret; 578 579 dp = opendir(RESCTRL_PATH); |
580 ksft_print_msg("%s resctrl mountpoint \"%s\" exists\n", | 580 ksft_print_msg("%s Check resctrl mountpoint \"%s\" exists\n", |
581 dp ? "Pass:" : "Fail:", RESCTRL_PATH); 582 if (dp) 583 closedir(dp); 584 585 ksft_print_msg("resctrl filesystem %s mounted\n", 586 find_resctrl_mount(NULL) ? "not" : "is"); 587 588 return ret; --- 158 unchanged lines hidden --- | 581 dp ? "Pass:" : "Fail:", RESCTRL_PATH); 582 if (dp) 583 closedir(dp); 584 585 ksft_print_msg("resctrl filesystem %s mounted\n", 586 find_resctrl_mount(NULL) ? "not" : "is"); 587 588 return ret; --- 158 unchanged lines hidden --- |