diff options
author | Tvrtko Ursulin <tvrtko.ursulin@intel.com> | 2017-12-18 12:02:15 +0000 |
---|---|---|
committer | Tvrtko Ursulin <tvrtko.ursulin@intel.com> | 2017-12-18 17:00:29 +0000 |
commit | cfb711c046c22c3881d2334f0b43ec4eb0b9a5fc (patch) | |
tree | 342c25d0718e2c33a99128ce66dc569ed091c6cd /scripts/intel-gfx-trybot | |
parent | c0be3310715e2f744b892c51f09e62273bcc8e57 (diff) |
scripts/trace.pl: Auto-detect tracepoint field order
Instead of hard-coding the order of key-value pairs into regular
expressions, auto-detect them as we go.
At the same time re-factor the code so it is smaller and even
slightly faster (10-15% by a quick measurement).
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Cc: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Cc: John Harrison <John.C.Harrison@intel.com>
Tested-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Diffstat (limited to 'scripts/intel-gfx-trybot')
0 files changed, 0 insertions, 0 deletions