Skip to content

trace-cmd-start-tracing.sh fails to starts with regexp error #63

Closed
@LordOfDragons

Description

System: GenToo 64-bit

Action to reproduce:

  1. Run "./trace-cmd-setup.sh", enter root password
  2. Run "./trace-cmd-start-tracing.sh"

Expected result:
Command succeeds

Actual result:

trace-cmd reset
trace-cmd: No such file or directory
  opening to '/sys/kernel/tracing/tracing_max_latency'

trace-cmd start -C mono -b 8000 -D -i -e sched:sched_switch -e sched:sched_process_fork -e sched:sched_process_exec -e sched:sched_process_exit -e drm:drm_vblank_event -e drm:drm_vblank_event_queued -e drm:drm_vblank_event_delivered -e amdgpu:amdgpu_vm_flush -e amdgpu:amdgpu_cs_ioctl -e amdgpu:amdgpu_sched_run_job -e *fence:*fence_signaled -e i915:i915_flip_request -e i915:i915_flip_complete -e i915:intel_gpu_freq_change -e i915:i915_gem_request_add -e i915:i915_gem_request_submit -e i915:i915_gem_request_in -e i915:i915_gem_request_out -e i915:i915_gem_request_queue -e i915:intel_engine_notify -e i915:i915_gem_request_wait_begin -e i915:i915_gem_request_wait_end -e i915:i915_request_add -e i915:i915_request_submit -e i915:i915_request_in -e i915:i915_request_out -e i915:i915_request_queue -e i915:i915_request_wait_begin -e i915:i915_request_wait_end -e i915:i915_request_retire -e i915:i915_request_execute -e i915:i915_pipe_update_vblank_evaded

trace-cmd stat

Events:
 Individual systems:
   drm
 Individual events:
    amdgpu
        amdgpu_cs_ioctl
        amdgpu_sched_run_job
        amdgpu_vm_flush
    dma_fence
        dma_fence_signaled
    sched
        sched_switch
        sched_process_exit
        sched_process_fork
        sched_process_exec

Buffer size in kilobytes (per cpu):
   8000

Buffer total size in kilobytes:
   64000

Clock: mono

Tracing is enabled

awk: cmd. line:3: warning: regexp escape sequence `\:' is not a known regexp operator
/sys/kernel/tracing/per_cpu/cpu0/stats entries:142 overrun:0 time:0.026693 sec
/sys/kernel/tracing/per_cpu/cpu1/stats entries:44 overrun:0 time:0.026986 sec
/sys/kernel/tracing/per_cpu/cpu2/stats entries:49 overrun:0 time:0.026994 sec
/sys/kernel/tracing/per_cpu/cpu3/stats entries:35 overrun:0 time:0.026403 sec
/sys/kernel/tracing/per_cpu/cpu4/stats entries:54 overrun:0 time:0.026894 sec
/sys/kernel/tracing/per_cpu/cpu5/stats entries:28 overrun:0 time:0.026428 sec
/sys/kernel/tracing/per_cpu/cpu6/stats entries:49 overrun:0 time:0.025293 sec
/sys/kernel/tracing/per_cpu/cpu7/stats entries:18 overrun:0 time:0.025415 sec

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions