Thread (18 messages) 18 messages, 2 authors, 2016-08-23

[PATCH V5 0/9] perf: Driver specific configuration for PMU

From: alexander.shishkin@linux.intel.com (Alexander Shishkin)
Date: 2016-08-22 15:16:01
Also in: lkml

Mathieu Poirier [off-list ref] writes:
As such something that used to be a two-step process:

# echo 1 > /sys/bus/coresight/devices/20070000.etr/enable_sink
# perf record -e cs_etm//u --per-thread  uname

is integrated in a single command:

# perf record -e cs_etm/@sink=20070000.etr/u --per-thread  uname
Can't we simply teach perf record to write 1 to that sysfs attribute and
avoid parsing more ascii strings in the kernel? I suspect that would also
take way less code.

Are there any other use cases for this besides specifying @sink for a
ETM?

Regards,
--
Alex
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help