linux/tools/perf
Stephane Eranian 84530920de perf pmu: fix alias->snapshot missing initialization bug
This patch fixes a bug in __perf_pmu__new_alias() whereby the
alias->snapshot field was not initialized to false. This led to random
alias->snapshot value for an alias and was breaking some measurements
such as:

  $ perf stat -a -e uncore_imc/data_reads/ -I 1000 sleep 100

Because the event ended up being treated as snapshot mode, when it is
not.

Signed-off-by: Stephane Eranian <eranian@google.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Kan Liang <kan.liang@intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/1452106201-13073-1-git-send-email-eranian@google.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2016-01-06 20:11:16 -03:00
..
arch perf subcmd: Create subcmd library 2015-12-17 14:27:14 -03:00
bench perf subcmd: Create subcmd library 2015-12-17 14:27:14 -03:00
config tools build feature: Move dwarf post unwind choice output into perf 2016-01-06 20:11:13 -03:00
Documentation perf report: Add documentation for dynamic sort keys 2016-01-06 20:11:14 -03:00
python perf python: Support the PERF_RECORD_SWITCH event 2015-10-07 19:41:50 -03:00
scripts perf script: Add stat-cpi.py script 2016-01-06 20:11:16 -03:00
tests perf tools: Pass evlist to setup_sorting() 2016-01-06 20:11:11 -03:00
trace/strace/groups perf trace: Add read/write to the file group 2015-09-04 13:22:06 -03:00
ui perf tools: Skip dynamic fields not defined for current event 2016-01-06 20:11:12 -03:00
util perf pmu: fix alias->snapshot missing initialization bug 2016-01-06 20:11:16 -03:00
.gitignore perf tools: Add Intel PT instruction decoder 2015-08-17 11:11:36 -03:00
Build perf tools: Provide subcmd configuration at runtime 2015-12-16 16:18:16 -03:00
builtin-annotate.c perf tools: Pass evlist to setup_sorting() 2016-01-06 20:11:11 -03:00
builtin-bench.c perf subcmd: Create subcmd library 2015-12-17 14:27:14 -03:00
builtin-buildid-cache.c perf subcmd: Create subcmd library 2015-12-17 14:27:14 -03:00
builtin-buildid-list.c perf subcmd: Create subcmd library 2015-12-17 14:27:14 -03:00
builtin-config.c perf subcmd: Create subcmd library 2015-12-17 14:27:14 -03:00
builtin-data.c perf subcmd: Create subcmd library 2015-12-17 14:27:14 -03:00
builtin-diff.c perf tools: Pass evlist to setup_sorting() 2016-01-06 20:11:11 -03:00
builtin-evlist.c perf subcmd: Create subcmd library 2015-12-17 14:27:14 -03:00
builtin-help.c perf subcmd: Create subcmd library 2015-12-17 14:27:14 -03:00
builtin-inject.c perf subcmd: Create subcmd library 2015-12-17 14:27:14 -03:00
builtin-kmem.c perf subcmd: Create subcmd library 2015-12-17 14:27:14 -03:00
builtin-kvm.c perf subcmd: Create subcmd library 2015-12-17 14:27:14 -03:00
builtin-list.c perf subcmd: Create subcmd library 2015-12-17 14:27:14 -03:00
builtin-lock.c perf subcmd: Create subcmd library 2015-12-17 14:27:14 -03:00
builtin-mem.c perf subcmd: Create subcmd library 2015-12-17 14:27:14 -03:00
builtin-probe.c perf subcmd: Create subcmd library 2015-12-17 14:27:14 -03:00
builtin-record.c perf tools: Introduce stat perf.data header feature 2015-12-17 15:15:14 -03:00
builtin-report.c perf report/top: Add --raw-trace option 2016-01-06 20:11:12 -03:00
builtin-sched.c perf subcmd: Create subcmd library 2015-12-17 14:27:14 -03:00
builtin-script.c perf script: Display stat events by default 2016-01-06 20:11:16 -03:00
builtin-stat.c perf stat record: Keep sample_type 0 for pipe session 2016-01-06 20:11:14 -03:00
builtin-timechart.c perf subcmd: Create subcmd library 2015-12-17 14:27:14 -03:00
builtin-top.c perf report/top: Add --raw-trace option 2016-01-06 20:11:12 -03:00
builtin-trace.c perf subcmd: Create subcmd library 2015-12-17 14:27:14 -03:00
builtin-version.c perf tools: Move cmd_version() to builtin-version.c 2015-12-09 13:42:03 -03:00
builtin.h perf tools: Add 'perf config' command 2015-11-23 18:31:24 -03:00
command-list.txt perf tools: Add 'perf config' command 2015-11-23 18:31:24 -03:00
CREDITS
design.txt perf tools: Update some code references in design.txt 2014-03-18 18:17:06 -03:00
Makefile perf tools: Allow shuffling the build tests 2015-11-05 11:39:54 -03:00
Makefile.perf perf build: Use FEATURE-DUMP in bpf subproject 2016-01-06 20:11:14 -03:00
MANIFEST perf subcmd: Create subcmd library 2015-12-17 14:27:14 -03:00
perf-archive.sh
perf-completion.sh perf tools: Avoid confusion with preloaded bash function for perf bash completion 2015-03-19 13:53:27 -03:00
perf-read-vdso.c perf tools: Build programs to copy 32-bit compatibility 2014-10-29 10:32:48 -02:00
perf-sys.h perf tools: Move generic barriers out of perf-sys.h 2015-05-08 16:05:08 -03:00
perf-with-kcore.sh perf tools: Fix perf-with-kcore handling of arguments containing spaces 2015-08-06 16:48:27 -03:00
perf.c perf subcmd: Create subcmd library 2015-12-17 14:27:14 -03:00
perf.h perf record: Add ability to name registers to record 2015-08-31 18:01:33 -03:00