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 -
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
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
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 /
4 matches
Mail list logo