• Cody P Schafer's avatar
    perf Documentation: Add event parameters · 98a43e0e
    Cody P Schafer authored
    
    
    Event parameters are a basic way for partial events to be specified in
    sysfs with per-event names given to the fields that need to be filled in
    when using a particular event.
    
    It is intended for supporting cases where the single 'cpu' parameter is
    insufficient. For example, POWER 8 has events for physical
    sockets/cores/cpus that are accessible from with virtual machines. To
    keep using the single 'cpu' parameter we'd need to perform a mapping
    between Linux's cpus and the physical machine's cpus (in this case Linux
    is running under a hypervisor). This isn't possible because bindings
    between our cpus and physical cpus may not be fixed, and we probably
    won't have a "cpu" on each physical cpu.
    Signed-off-by: default avatarCody P Schafer <cody@linux.vnet.ibm.com>
    Signed-off-by: default avatarSukadev Bhattiprolu <sukadev@linux.vnet.ibm.com>
    Acked-by: default avatarJiri Olsa <jolsa@kernel.org>
    Cc: Cody P Schafer <dev@codyps.com>
    Cc: Haren Myneni <hbabu@us.ibm.com>
    Cc: Jiri Olsa <jolsa@redhat.com>
    Cc: Michael Elle...
    98a43e0e
sysfs-bus-event_source-devices-events 3.06 KB