[Bug 833101] Re: perf uses less at the default pager, but the linux-tools packages have no dependency for it
Does this patch look OK? diff --git a/tools/perf/util/pager.c b/tools/perf/util/pager.c index 1915de2..d6f23de 100644 --- a/tools/perf/util/pager.c +++ b/tools/perf/util/pager.c @@ -57,8 +57,12 @@ void setup_pager(void) } if (!pager) pager = getenv(PAGER); - if (!pager) - pager = less; + if (!pager) { + if (!access(/usr/bin/pager, X_OK)) + pager = /usr/bin/pager; + else + pager = less; + } else if (!*pager || !strcmp(pager, cat)) return; -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/833101 Title: perf uses less at the default pager, but the linux-tools packages have no dependency for it To manage notifications about this bug go to: https://bugs.launchpad.net/linaro-ubuntu/+bug/833101/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 833101] Re: perf uses less at the default pager, but the linux-tools packages have no dependency for it
Brad, does the patch in comment #11 look good here? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/833101 Title: perf uses less at the default pager, but the linux-tools packages have no dependency for it To manage notifications about this bug go to: https://bugs.launchpad.net/linaro-ubuntu/+bug/833101/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 833101] Re: perf uses less at the default pager, but the linux-tools packages have no dependency for it
New patch accepted: http://git.linaro.org/gitweb?p=people/ynk/linux- linaro-tracking.git;a=commit;h=49561d58a14351d136518f25bd686f9a6ca41b69 ** Changed in: linaro-ubuntu Status: Confirmed = Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/833101 Title: perf uses less at the default pager, but the linux-tools packages have no dependency for it To manage notifications about this bug go to: https://bugs.launchpad.net/linaro-ubuntu/+bug/833101/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 833101] Re: perf uses less at the default pager, but the linux-tools packages have no dependency for it
Patch not merged yet, moving it to 12.02 ** Changed in: linaro-ubuntu Milestone: 12.01 = 12.02 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/833101 Title: perf uses less at the default pager, but the linux-tools packages have no dependency for it To manage notifications about this bug go to: https://bugs.launchpad.net/linaro-ubuntu/+bug/833101/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 833101] Re: perf uses less at the default pager, but the linux-tools packages have no dependency for it
The attached patch seems to fix the issue. ** Patch added: perf-less.patch https://bugs.launchpad.net/ubuntu/+source/linux-meta/+bug/833101/+attachment/2676642/+files/perf-less.patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/833101 Title: perf uses less at the default pager, but the linux-tools packages have no dependency for it To manage notifications about this bug go to: https://bugs.launchpad.net/linaro-ubuntu/+bug/833101/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 833101] Re: perf uses less at the default pager, but the linux-tools packages have no dependency for it
No update as such. Moving it to 12.01. ** Changed in: linaro-ubuntu Milestone: 11.12 = 12.01 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/833101 Title: perf uses less at the default pager, but the linux-tools packages have no dependency for it To manage notifications about this bug go to: https://bugs.launchpad.net/linaro-ubuntu/+bug/833101/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 843628] Re: perf failure on panda (omap4)
With 11.12 RC image, perf seems to work fine: # perf stat sleep 1 Performance counter stats for 'sleep 1': 11.810303 task-clock#0.011 CPUs utilized 1 context-switches #0.000 M/sec 0 CPU-migrations#0.000 M/sec 148 page-faults #0.013 M/sec 3514014 cycles#0.298 GHz 0 stalled-cycles-frontend #0.00% frontend cycles idle 0 stalled-cycles-backend#0.00% backend cycles idle 180 instructions #0.51 insns per cycle 197443 branches # 16.718 M/sec 71889 branch-misses # 36.41% of all branches 1.037902836 seconds time elapsed ** Changed in: linaro-ubuntu Status: Confirmed = Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/843628 Title: perf failure on panda (omap4) To manage notifications about this bug go to: https://bugs.launchpad.net/linaro-landing-team-ti/+bug/843628/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 789095] Re: Bluetooth does not work on PandaBoard
11.12 RC image: able to scan devices, but not able to browse and send/receive files with other BT devices -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/789095 Title: Bluetooth does not work on PandaBoard To manage notifications about this bug go to: https://bugs.launchpad.net/linaro-ubuntu/+bug/789095/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 833101] Re: perf uses less at the default pager, but the linux-tools packages have no dependency for it
Yes, this issue is still present in 11.11 nano image. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/833101 Title: perf uses less at the default pager, but the linux-tools packages have no dependency for it To manage notifications about this bug go to: https://bugs.launchpad.net/linaro-ubuntu/+bug/833101/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 789095] Re: Bluetooth does not work on PandaBoard
** Tags added: bluetooth lt-panda -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/789095 Title: Bluetooth does not work on PandaBoard To manage notifications about this bug go to: https://bugs.launchpad.net/linaro-ubuntu/+bug/789095/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 843628] [NEW] perf failure on panda (omap4)
Public bug reported: Though perf lists the PMU events but fails to gather performance counter statistics on panda # perf list List of pre-defined events (to be used in -e): cpu-cycles OR cycles [Hardware event] instructions [Hardware event] cache-references [Hardware event] cache-misses [Hardware event] branch-instructions OR branches[Hardware event] branch-misses [Hardware event] bus-cycles [Hardware event] cpu-clock [Software event] task-clock [Software event] page-faults OR faults [Software event] [...] # perf stat sleep 1 Error: cache-misses event is not supported. Fatal: Not all events could be opened. ** Affects: linux-linaro-omap (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/843628 Title: perf failure on panda (omap4) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-linaro-omap/+bug/843628/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 771805] Re: [armel] ltrace hangs
With the final Linaro natty release, ltrace works fine with the above shell script: http://paste.ubuntu.com/622589/ -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/771805 Title: [armel] ltrace hangs To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ltrace/+bug/771805/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 702999] Re: oprofile failure on panda (omap4)
** Changed in: linux-linaro-omap (Ubuntu) Status: Confirmed = Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/702999 Title: oprofile failure on panda (omap4) -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 771805] Re: [armel] ltrace hangs
After applying the patch in comment #7 I could run ltrace successfully on Pandaboard and the testsuite passed too: === tests === Schedule of variations: unix Running target unix Using /usr/share/dejagnu/baseboards/unix.exp as board description file for target. Using /usr/share/dejagnu/config/unix.exp as generic interface file for target. Using ./config/unix.exp as tool-and-target-specific interface file. Running ./ltrace.main/main-internal.exp ... Running ./ltrace.main/main.exp ... Running ./ltrace.main/parameters.exp ... Running ./ltrace.main/signals.exp ... Running ./ltrace.main/system_calls.exp ... Running ./ltrace.minor/attach-process.exp ... Running ./ltrace.minor/count-record.exp ... Running ./ltrace.minor/demangle.exp ... Running ./ltrace.minor/libdl-simple.exp ... Running ./ltrace.minor/print-instruction-pointer.exp ... Running ./ltrace.minor/time-record-T.exp ... Running ./ltrace.minor/time-record-tt.exp ... Running ./ltrace.minor/time-record-ttt.exp ... Running ./ltrace.minor/trace-clone.exp ... Running ./ltrace.minor/trace-exec.exp ... Running ./ltrace.minor/trace-fork.exp ... Running ./ltrace.torture/ia64-sigill.exp ... Running ./ltrace.torture/signals.exp ... === Summary === # of expected passes86 # of expected failures 2 make[4]: Leaving directory `/root/ltrace/testsuite' make[3]: Leaving directory `/root/ltrace/testsuite' make[2]: Leaving directory `/root/ltrace/testsuite' make[1]: Leaving directory `/root/ltrace/testsuite' -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/771805 Title: [armel] ltrace hangs -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 771805] Re: [armel] ltrace hangs
Hi Dave, I patched against the latest git rev 4649a4cbb3bd6bc516c093adefa5dc7da8141b92. But when I ran the 3 line shell script I did get a segmentation fault. Regards, Avik -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/771805 Title: [armel] ltrace hangs -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 702999] Re: oprofile failure on panda (omap4)
It seems that the patch in http://lists.infradead.org/pipermail/linux- arm-kernel/2011-March/045283.html is going to fix the issue by enabling pmu events for omap4, which are routed from CTI. The patch attached is a version of the above with removal of some CTI register reads that cause hang in the initial phase of booting. The patch has been verified on Panda board and the profile data could be generated that are shown by opreport. Although, there is a lockdep warning possible circular locking dependency detected when opcontrol --start is called for the first time. ** Patch added: 0001-arm-pmu-support-pmu-perf-on-OMAP4.patch https://bugs.launchpad.net/ubuntu/+source/oprofile/+bug/702999/+attachment/2016187/+files/0001-arm-pmu-support-pmu-perf-on-OMAP4.patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/702999 Title: oprofile failure on panda (omap4) -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 702999] Re: oprofile failure on panda (omap4)
I could reproduce the bug on panda running Linaro natty with 2.6.37 kernel. It seems the profile data are not getting written to $SESSION_DIR/samples directory. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/702999 Title: oprofile failure on panda (omap4) -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 702999] Re: oprofile failure on armel
I could not reproduce this bug on the Beagle Board running Linaro. Although I could not test the same on Panda Board so far due to other issues in booting Linaro on Panda Board. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/702999 Title: oprofile failure on armel -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs