Is it possible to execute a pid from perf record?

  Kiến thức lập trình

I want to run the perf record, but filter few pids. Reading the perf record doc I am little confused as to how to mention the pid filter. This does not seems to work:

perf record  -e cycles --filter 'pid != 514900'

This CPU does not support address filtering

 Usage: perf record [<options>] [<command>]
    or: perf record [<options>] -- <command> [<options>]

        --filter <filter>
                          event filter

I am using a wrong syntax?

LEAVE A COMMENT