aboutsummaryrefslogtreecommitdiffstats
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorGerman Gomez <[email protected]>2022-02-21 17:10:42 +0000
committerArnaldo Carvalho de Melo <[email protected]>2022-02-23 10:02:23 +0000
commit521f2688c5af8442ace095815702f08c1aabcb45 (patch)
treed3f448c17cbf7359b7dcebd1646e05ca1e4c5392 /lib/test_fortify/write_overflow-strncpy-src.c
parentperf data: Don't mention --to-ctf if it's not supported (diff)
downloadkernel-521f2688c5af8442ace095815702f08c1aabcb45.tar.gz
kernel-521f2688c5af8442ace095815702f08c1aabcb45.zip
perf arm-spe: Use advertised caps/min_interval as default sample_period
When recording SPE traces, the default sample_period is currently being set to 1 in the perf_event_attr fields, instead of the value advertised in '/sys/devices/arm_spe_0/caps/min_interval': Before: $ perf record -e arm_spe// -vv -- sleep 1 [...] { sample_period, sample_freq } 1 [...] Use the value from the above sysfs location as a more sensible default (it was already being read, but the value not being used) After: $ perf record -e arm_spe// -vv -- sleep 1 [...] { sample_period, sample_freq } 1024 [...] Reviewed-by: Leo Yan <[email protected]> Signed-off-by: German Gomez <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: John Garry <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Mathieu Poirier <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Will Deacon <[email protected]> Cc: [email protected] Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions