Graf commitů

83 Commity

Autor SHA1 Zpráva Datum
Sriraksha Nagaraj 615dd27e77 SWDEV-287352 - Changing the description for timestamp option
Change-Id: Ie1d942f7560838efbc38394b21facf04df9bbda5


[ROCm/rocprofiler commit: c565e2f329]
2022-07-07 15:08:53 -04:00
Sriraksha Nagaraj 5272d9dc81 SWDEV-287352: Fixing typos in the rocprof --help description
Change-Id: I39739e53e477c9e621da1b686e248b5d7aff5ad2


[ROCm/rocprofiler commit: c9efa4891e]
2022-06-29 16:26:25 +00:00
Ammar ELWazir e09315af9f Enabling ROCP_STATS_OPT
Enabling the new methodology of ROCP_STATS_OPT of getting HIP activities while the application is running

Change-Id: I19d09e2f2abe16e6528240bf55d6048645aaa09f


[ROCm/rocprofiler commit: 6f97e15d55]
2022-06-21 19:30:38 -05:00
Ammar ELWazir 48e2400848 SWDEV-338186: Fixing Roctracer tool name, path
Using libroctracer_tool.so instead of libtracer_tool.so and fixing the paths for the tracer tool

Change-Id: I9b3ca885f3ca5385b106d5376894b1b4054f9c1d


[ROCm/rocprofiler commit: 0be6306cae]
2022-05-20 05:26:33 -04:00
Laurent Morichetti d4241d5241 Register the tracer API as a tool library
In a future change, the tracer API library (libroctracer64.so) will be
automatically registered as a tool library. Until then, explicitly
register it by adding it to the HSA_TOOLS_LIB environment variable.

Change-Id: I44d78ac38608e6da5edf04b498a73485f5609d06


[ROCm/rocprofiler commit: 0123aa61fa]
2022-05-04 19:19:34 -07:00
Laurent Morichetti 26bb13ade0 SWDEV-318682: Using roctx to rename long kernel names to shorter ones.
To enable this feature use the --roctx-rename rocprof option. This
implementation records all messages received in roctxPush calls and
use them to replace corresponding kernel names.

Tested with the following HIP program:

\#include <hip/hip_runtime.h>
\#include <roctracer/roctx.h>

__global__ void
ThisIsALongKernelName ()
{
}

int
main (int argc, char* argv[])
{
  hipSetDevice (0);

  // Not in a roctx range.
  ThisIsALongKernelName<<<1, 1>>> ();

  roctxRangePush ("A");
  // In a simple first level roctx range.
  ThisIsALongKernelName<<<1, 1>>> ();
  roctxRangePop ();

  roctxRangePush ("B");
  roctxRangePush ("C");
  // In a nested roctx range.
  ThisIsALongKernelName<<<1, 1>>> ();
  roctxRangePop ();
  roctxRangePop ();

  roctxRangePush ("D");
  roctxRangePush ("E");
  roctxRangePop ();
  // In a first level roctx range, but after a nested range.
  ThisIsALongKernelName<<<1, 1>>> ();
  roctxRangePop ();

  hipDeviceSynchronize ();
  return 0;
}

Change-Id: I629312234468daff8b017caa5cb0773707d98cce


[ROCm/rocprofiler commit: 1078a088e9]
2022-04-07 18:03:03 -07:00
Ammar ELWazir 6da8b33053 SWDEV-329270: fixed the multiline input.txt issue
In a previous change the key for the var_table in tblextr.py script has been changed from one value to a tuple without changing the usage of the var_table in the rest of the script

Change-Id: I38964f61afad5323d1ca9b64d538cec426298842


[ROCm/rocprofiler commit: 46c4e5045a]
2022-03-25 05:09:52 +00:00
Ranjith Ramakrishnan fcc553ec4d File Reorganization with backward compatibility
Package files installed in /opt/rocm
Wrapper header files and library soft links installed in/opt/rocm/rocprofiler
Test tools library and binaries renamed
Internal binaries installed in /opt/rocm/libexec/rocprofiler
run.sh updated with file reorg changes

Change-Id: I927d1a0dcd814764ebf0f473d0a64883906d5457


[ROCm/rocprofiler commit: 015697db74]
2022-03-05 14:49:41 -08:00
kiumars 8363a23286 SWDEV-303820: [LLNLA-63]rocprof does not check input arguments at start
Change-Id: I820a2b6df10b799f776518a98519e9c8ca40ec53


[ROCm/rocprofiler commit: 7a8f5b5e90]
2021-11-11 17:31:56 -05:00
rachida a15b1c4e46 SWDEV-295878 Fix for seg fault when using --trace-start off
Change-Id: I94d95dd4fb49aace5f1ee006c47b94573f997b85


[ROCm/rocprofiler commit: 6f31192501]
2021-08-31 16:49:48 -04:00
Laurent Morichetti 8cd375677f Move spmltgen.py to amd-npi
Change-Id: I63e67193453e2c5479a03a8c9c97f94eced04268


[ROCm/rocprofiler commit: 6fe4a5db51]
2021-08-20 10:45:39 -07:00
Ammar ELWazir 1f2ded91f6 SWDEV-296331: Fixed libhsakmt.so.1
Removed the old code for trying to locate libhsakmt.so.1 as it is replaced by libhsakmt.a static library

Change-Id: Icc5a0f6ead285e2406e6e83614e536184e3a2663


[ROCm/rocprofiler commit: 14b62557d0]
2021-08-11 12:25:06 -04:00
Christophe Paquot 02e1c73a51 SWDEV-295205 - Remove KFD domain from roc profiler
Removed KFD domain and references.

Change-Id: Icd7e1789c77490e57b527be065043eadb6b75c1c


[ROCm/rocprofiler commit: 79d477daed]
2021-07-14 16:50:20 -07:00
Ashutosh Misra a407995955 rocprofiler:using right rocm lib(s) path
Correcting thunklib preload with tested absolute path

SWDEV-285578

Change-Id: I8aa8205a6886d2101cf66016d307ff8a7c86257b


[ROCm/rocprofiler commit: f3c80f645a]
2021-05-25 02:04:51 -04:00
Laurent Morichetti cac74820c2 Use ${BASH_SOURCE[0]} to deduce the install dir
Change-Id: I96b81c4d01a88a1edee05a54a4982e4a93225847


[ROCm/rocprofiler commit: badd1270f6]
2021-05-20 16:36:57 -07:00
Evgeny 8c3ce30c94 SWDEV-265287 : integration spmltgen.py script
Change-Id: Ief3e93225fb6660e72a04e4bd4b379262b73c914


[ROCm/rocprofiler commit: 82d7bb2145]
2021-04-08 10:04:39 -04:00
Evgeny 0fe48f9982 obj-tracking default on
Change-Id: If919c1ee792e59bdb938608382e5b7350ca7098e


[ROCm/rocprofiler commit: 80973271f4]
2021-03-24 01:44:19 -05:00
Evgeny 0282e30855 SWDEV-274821 SPM initialization fix
Change-Id: I5e27928a60083eff328bab3e79937ce11bce11bd


[ROCm/rocprofiler commit: e2c9d13e5b]
2021-03-22 09:18:36 +00:00
Evgeny 02d06d0c19 SWDEV-274603 : fix SPM mode enabling
Change-Id: I67d9ecd8c808989315b2991ec492af2a4dd4ccbf


[ROCm/rocprofiler commit: c46913cdd6]
2021-03-10 01:27:28 -06:00
Evgeny 49c37df562 SWDEV-274603 : To enable SPM KFD mode
Change-Id: I53f86d51ae9855d9c96aa9d3a8c8e433070136a3


[ROCm/rocprofiler commit: 810b2b5982]
2021-02-25 21:38:39 -05:00
Evgeny e65aba50ad SWDEV-241265 : fixing scripts
Change-Id: Id7fcc309d0003bc72e972976e1944afd6488001d


[ROCm/rocprofiler commit: 249b0c2b26]
2020-12-09 23:10:40 -05:00
Evgeny 2adb15caff SWDEV-255662 : spm kfd mode support
Change-Id: I840c7e92d3d5a59d8e5402c4d8ef86bc123dd07c


[ROCm/rocprofiler commit: 7e60bf163e]
2020-12-02 13:02:45 -06:00
Xianwei Zhang 9c62afb8ba concurrent: enable/fix the related settings
Concurrent profiling relies on the aqlprofile read_api
and tracker. This patch set those options to enable
the concurrent profiling.

Change-Id: Ib97d4d8facfbc11f2684d83109397cd13f117d5e


[ROCm/rocprofiler commit: b445610cd1]
2020-08-26 16:04:57 -04:00
Xianwei Zhang 27af6bc043 pmc: add parraller kernels 'rocprof' option
The profiling was only enabled in serial mode, i.e., kernels
are serialized in execution, and counters are reset at each
kernel start and read at kernel completion. This patch adds
the concurrent mode, by issuing the process-level start
packet to reset counters, and then reading twice at kernel
start and end time to obtain the counter value difference.
The new concurrent profiling usage needs the integration
with the corresponding augment at aqlprofile side.

Change-Id: I94b4442eadc8c64b8fba51b1e4916fc8b895ad21

enable cnocurrent kernels 'rocprof' option

Change-Id: I5088d54879a4bf91e180eba520aa9427304c1713


[ROCm/rocprofiler commit: 4fad73511c]
2020-07-20 12:57:42 -05:00
Evgeny 0e22fc3961 fixing rocminfo path requirements error - no usage printing
Change-Id: Ib48d6c81e1771976e67562fc34e158e30a532d34


[ROCm/rocprofiler commit: a7179a1c5c]
2020-06-23 13:09:58 -04:00
Evgeny 669dcf4f05 fix output merging
Change-Id: I7c51e85f8a8e6e5bae67abf74716a658cc533a6a


[ROCm/rocprofiler commit: 68c9f32d6e]
2020-06-15 01:13:19 -05:00
Evgeny 4f561a02da rocminfo check fix
Change-Id: I8d50335060a16954df37be8f4d74928d565b1078


[ROCm/rocprofiler commit: e9a9b5d3ef]
2020-06-03 01:00:48 -05:00
Evgeny 59f6ad23fc list-derived/basic fixed
Change-Id: I2038eac424b1485c304ffecf35ba2a0965de5f3b


[ROCm/rocprofiler commit: 59a4ae9abb]
2020-06-01 22:04:37 -04:00
Evgeny 676669c2c0 setting code-obj tracking by default
Change-Id: Id6a97a7dc77faa3b7eb0e2b81b75c13ca7fc5818


[ROCm/rocprofiler commit: 30db99e758]
2020-05-28 03:43:12 -05:00
Evgeny dc8b22ca01 removing /opt/rocm hardcoding
Change-Id: Ifb041a76a0c6fa943f72a9228197f371ad384bb7


[ROCm/rocprofiler commit: 4debecbc3c]
2020-05-26 21:56:07 -05:00
Evgeny 212aefac7d adding pid for kernel results to support multi-process profiling
Change-Id: I283228a4b4145599c5e637dd6faa771b9f4b6345


[ROCm/rocprofiler commit: 3af87a7423]
2020-05-05 05:35:32 -05:00
Evgeny 468d509ba1 using python3
Change-Id: Ic8ea29dd1aeb6fe5731f739a7f2f58414401ce7a


[ROCm/rocprofiler commit: 0c7b397e63]
2020-04-24 14:51:09 -05:00
Evgeny ef5e111e3c minor change
Change-Id: I9ea899af4f8887677c52131bea502ab029f89cde


[ROCm/rocprofiler commit: 26d888fda4]
2020-04-24 13:56:08 -05:00
Evgeny 974953df32 fixing rocprof app exit code
Change-Id: Iff0d5fa66bc9a69e1a0bde9c85aa8c5e55b21834


[ROCm/rocprofiler commit: 990200988c]
2020-04-24 01:32:40 -05:00
Evgeny cafb061f2e kfd wrapper ld preload fix
Change-Id: Icad86f08662208282790988611dbde0ec730162a


[ROCm/rocprofiler commit: b1e22e9c5e]
2020-04-22 23:03:48 -05:00
Evgeny cc285d5b48 JSON kernel name propogation and stats
Change-Id: I60cf4c7608272941e2499bd251850416ac254f32


[ROCm/rocprofiler commit: a5f52b40f5]
2020-02-26 19:45:49 -06:00
Evgeny f8941878c4 adding kfdwrapper library path
Change-Id: I2390d3ab1192e11cf9f53fc35859c1d05afaacd2


[ROCm/rocprofiler commit: b10c1e5aa3]
2020-02-06 13:45:18 -06:00
Evgeny b7361ba5bd rocprof flush-rate option
Change-Id: I130f83f6a671451ee0cb34b4e7b53e738847c81f


[ROCm/rocprofiler commit: 2bcf8f653d]
2020-01-27 20:27:24 -06:00
Evgeny 035a887649 ROCP_PYTHON_VERSION env var
Change-Id: Id86ff687f107d01039ded5e26811fc7d19fa0c00


[ROCm/rocprofiler commit: 4bfdb0a3a1]
2020-01-24 14:22:52 -06:00
Evgeny 540e423910 enable json generation for roctx trace alone
Change-Id: Ie95829087882f74f7a5c10fd682e7a7c24609d54


[ROCm/rocprofiler commit: e7d0cf18c5]
2020-01-14 10:25:13 -06:00
Evgeny 4a817e3e83 minor changes;
Change-Id: I4266d6af1adef66637b3c971fa21c800240a79ef


[ROCm/rocprofiler commit: 9bdd497a51]
2020-01-14 10:25:13 -06:00
Evgeny bdf67e8dd6 removing LD_PRELOAD for hip trace as the HIP library is now loading statically
Change-Id: I032c73feb9e8426f5b2cd5bd930e7160c3b07294


[ROCm/rocprofiler commit: 71eca27ffa]
2019-12-13 01:55:34 -06:00
Evgeny 0c09ac5429 LD_PRELOAD interference fixed
Change-Id: Ib44aa28a71326900f5a71bbb37dbd8049cc3e3a2


[ROCm/rocprofiler commit: 31790cc69d]
2019-12-12 11:41:00 -06:00
Evgeny ff73eace8f tracing on start option
Change-Id: Ie7a85da4fd865fbabd6b38ac1d12977ff2684114


[ROCm/rocprofiler commit: b0d56ba0eb]
2019-12-11 14:41:51 -06:00
Evgeny 52bf544e06 hcc library loading workaround
Change-Id: I8b383f901235cfdfaba612a4effa4b9fcf12104d


[ROCm/rocprofiler commit: 28e59eb0da]
2019-12-10 06:40:09 -06:00
Evgeny 338d2d70da kfd trace rocprof integration
Change-Id: Ie1f1679f50a973d071b81f3cf9fca570da9f12c3


[ROCm/rocprofiler commit: b74ae2f62d]
2019-12-03 09:47:58 -06:00
Evgeny 9b183d909e code object tracking and v3 code object support
Change-Id: I081ada13f6364ea4401a97a485dedfa9bf8a45fe


[ROCm/rocprofiler commit: 60043d198b]
2019-11-19 20:18:09 -06:00
Evgeny 0ebce35b1b profiled cmd line quoting option
Change-Id: I576065eb289b59829978c7a2acf74799b68bc213


[ROCm/rocprofiler commit: b9989fb33c]
2019-11-11 18:10:57 -05:00
Evgeny 7ac1e3dcd9 enable rocprofiler kernels trace; fixing signal value for proxy signal; fixing scope options in input txt format;
Change-Id: Ife63c4091e565a2158e292c7acf9718085c709be


[ROCm/rocprofiler commit: d8560ae0b3]
2019-11-01 20:44:02 -05:00
Evgeny d446ac5a9b changing trace control to <delay:length:rate>
Change-Id: I6eca07257ab8d06972e4eba6ee04ae1200b50fe9


[ROCm/rocprofiler commit: 00ca6d8a78]
2019-10-10 19:04:30 -05:00