BSR: give -j option to the report mode
authorhyokeun.jeon <hyokeun.jeon@samsung.com>
Sat, 27 Mar 2021 15:31:06 +0000 (00:31 +0900)
committerhyokeun.jeon <hyokeun.jeon@samsung.com>
Sat, 27 Mar 2021 15:31:06 +0000 (00:31 +0900)
depanneur

index 166f4311635ee720eb5b6b86c5b347b17610ff20..69b1d2b207411b7ae3bb8c89432b09aa1cce4d56 100755 (executable)
--- a/depanneur
+++ b/depanneur
@@ -2657,6 +2657,9 @@ sub profiling_report {
     # Call BSR
 
     my $report_command = "bsr report -a $arch --verbose --depsnumbersort ";
+    if ($profiling_reference ne "") {
+        $report_command = $report_command . " -j $profiling_reference ";
+    }
     my $dep_xml_file = "$depends_dir/$dist/$arch/$dist\_$arch\_pkgdepends.xml";
     if (-e $dep_xml_file) {
         $report_command = $report_command . " -x \"$dep_xml_file\" ";