- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Due to machine of our lab cannot ssh directly, I can only use command-line of vtune.
It works all right . While when I reported the result ,it can only be displayed in process or module
granularity, cannot by other granularity,such as source-file or source line ?
$amplxe-cl -report sfdump -result-dir r013runsa/ -group-by source-file
Using result path `/home/tgm/zhangxx/avx/r013runsa'
Opening `/home/tgm/zhangxx/avx/r013runsa' in read-only mode.
Executing actions 75 % Generating a report
Value for group-by unknown: source-file. Values allowed are 'process' (default) and 'module'.
Executing actions 100 % done
Error: Error 0x40000024 (Reporter error)
Why ?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You have to use report type which is "hw-events", instead of "sfdump".
If you use report type "sfdump", only "-group-by process" is allowed.
Regards, Peter
# amplxe-cl -collect lightweight-hotspots -- ./primes.icc
Determining primes from 1 - 100000
Found 9592 primes
Using result path `/home/peter/problem_report/r004lh'
Executing actions 75 % Generating a report
Summary
-------
Elapsed Time: 0.879
Executing actions 100 % done
# amplxe-cl -report hw-events -group-by process,thread,function,source-file
Using result path `/home/peter/problem_report/r004lh'
Executing actions 75 % Generating a report
Process Thread Function Module Source File PID Source File Path CPU_CLK_UNHALTED.THREAD:Hardware Event Count CPU_CLK_UNHALTED.REF_TSC:Hardware Event Count INST_RETIRED.ANY:Hardware Event Count
---------- --------------- -------------------- ------------------ --------------------- ---- ------------------------------------- -------------------------------------------- --------------------------------------------- -------------------------------------
primes.icc Thread (0x1d57) findPrimes primes.icc primes.cpp 7507 /home/peter/problem_report/primes.cpp 3170000000 2942000000 1158000000
primes.icc Thread (0x1d56) findPrimes primes.icc primes.cpp 7507 /home/peter/problem_report/primes.cpp 2330000000 2202000000 842000000
primes.icc Thread (0x1d55) findPrimes primes.icc primes.cpp 7507 /home/peter/problem_report/primes.cpp 1468000000 1402000000 530000000
primes.icc Thread (0x1d54) findPrimes primes.icc primes.cpp 7507 /home/peter/problem_report/primes.cpp 538000000 526000000 196000000
primes.icc Thread (0x1d57) __do_softirq vmlinux [Unknown source file] 7507 [Unknown] 6000000 6000000 0
primes.icc Thread (0x1d53) _dl_lookup_symbol_x ld-2.12.so [Unknown source file] 7507 [Unknown] 2000000 0 0
primes.icc Thread (0x1d53) do_page_fault vmlinux [Unknown source file] 7507 [Unknown] 2000000 0 0
primes.icc Thread (0x1d54) __do_softirq vmlinux [Unknown source file] 7507 [Unknown] 2000000 2000000 0
primes.icc Thread (0x1d53) __do_fault vmlinux [Unknown source file] 7507 [Unknown] 0 2000000 0
primes.icc Thread (0x1d53) _dl_relocate_object ld-2.12.so [Unknown source file] 7507 [Unknown] 0 4000000 0
primes.icc Thread (0x1d53) _spin_lock vmlinux [Unknown source file] 7507 [Unknown] 0 0 2000000
primes.icc Thread (0x1d53) audit_syscall_exit vmlinux [Unknown source file] 7507 [Unknown] 0 2000000 0
primes.icc Thread (0x1d53) copy_page_c vmlinux [Unknown source file] 7507 [Unknown] 0 2000000 0
primes.icc Thread (0x1d53) do_lookup_x ld-2.12.so [Unknown source file] 7507 [Unknown] 0 0 2000000
primes.icc Thread (0x1d53) free_hot_cold_page vmlinux [Unknown source file] 7507 [Unknown] 0 2000000 0
primes.icc Thread (0x1d55) __do_softirq vmlinux [Unknown source file] 7507 [Unknown] 0 4000000 2000000
primes.icc Thread (0x1d55) pthread_mutex_unlock libpthread-2.12.so [Unknown source file] 7507 [Unknown] 0 0 2000000
primes.icc Thread (0x1d56) __do_softirq vmlinux [Unknown source file] 7507 [Unknown] 0 2000000 4000000
primes.icc Thread (0x1d56) rcu_process_gp_end vmlinux [Unknown source file] 7507 [Unknown] 0 0 2000000
primes.icc Thread (0x1d57) __pthread_mutex_lock libpthread-2.12.so [Unknown source file] 7507 [Unknown] 0 2000000 0
primes.icc Thread (0x1d57) pthread_mutex_unlock libpthread-2.12.so [Unknown source file] 7507 [Unknown] 0 2000000 0
Executing actions 100 % done
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
But how to display by source-line ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page