Re: Intel PT: Address filtering not working. (cc me)

2016-10-17 Thread Muhammad Usman Nadeem
I was providing it the Virtual Memory Address instead of offset in the file. It is working now. Thanks. On Mon, Oct 17, 2016 at 2:50 AM, Adrian Hunter <adrian.hun...@intel.com> wrote: > On 13/10/16 04:11, Muhammad Usman Nadeem wrote: >> Usage: sudo perf record -e intel_pt//u -

Intel PT: Address filtering not working. (cc me)

2016-10-12 Thread Muhammad Usman Nadeem
Usage: sudo perf record -e intel_pt//u --filter='filter 0x40 / 0x1000 @./a.out' ./a.out 123 a.out is my program (for loop, call using function pointer and use of longjump) and 123 is the argument. Output: [ perf record: Woken up 1 times to write data ] [ perf record: Captured and wrote 1.171

Intel PT: Address filtering not working. (cc me)

2016-10-12 Thread Muhammad Usman Nadeem
Usage: sudo perf record -e intel_pt//u --filter='filter 0x40 / 0x1000 @./a.out' ./a.out 123 a.out is my program (for loop, call using function pointer and use of longjump) and 123 is the argument. Output: [ perf record: Woken up 1 times to write data ] [ perf record: Captured and wrote 1.171

Re: Intel PT: Address filtering not working. (cc me)

2016-10-17 Thread Muhammad Usman Nadeem
I was providing it the Virtual Memory Address instead of offset in the file. It is working now. Thanks. On Mon, Oct 17, 2016 at 2:50 AM, Adrian Hunter wrote: > On 13/10/16 04:11, Muhammad Usman Nadeem wrote: >> Usage: sudo perf record -e intel_pt//u --filter='filter 0x40 /