path: root/tools/perf/.gitignore
AgeCommit message (Collapse)AuthorFilesLines
2015-08-17perf tools: Add Intel PT instruction decoderAdrian Hunter1-0/+1
Add support for decoding instructions for Intel Processor Trace. The kernel x86 instruction decoder is copied for this. This essentially provides intel_pt_get_insn() which takes a binary buffer, uses the kernel's x86 instruction decoder to get details of the instruction and then categorizes it for consumption by an Intel PT decoder. Signed-off-by: Adrian Hunter <> Cc: Jiri Olsa <> Link: Signed-off-by: Arnaldo Carvalho de Melo <>
2015-06-17perf tools: Ignore .config-detected in .gitignoreWang Nan1-0/+1
Commit fcfd6611fbccdbf2593bd949097a5c0e45cd96da ("tools build: Add detected config support") dynamically creates .config-detected. Add it to .gitignore. Signed-off-by: Wang Nan <> Cc: Jiri Olsa <> Cc: Zefan Li <> Link: Signed-off-by: Arnaldo Carvalho de Melo <>
2015-03-20perf build: Use FEATURE-DUMP instead of PERF-FEATURES in the .gitignore fileYunlong Song1-1/+1
Since commit 4ae61202b31c ("perf build: Rename PERF-FEATURES into FEATURE-DUMP") renames PERF-FEATURES into FEATURE-DUMP, the .gitignore file should also do this thing for consistency. Signed-off-by: Yunlong Song <> Acked-by: Jiri Olsa <> Cc: Paul Mackerras <> Cc: Peter Zijlstra <> Cc: Wang Nan <> Link: Signed-off-by: Arnaldo Carvalho de Melo <>
2015-03-02perf tools: Add PERF-FEATURES to the .gitignore fileIngo Molnar1-0/+1
It's an auto-generated file. Signed-off-by: Ingo Molnar <> Cc: David Ahern <> Cc: Jiri Olsa <> Cc: Namhyung Kim <> Cc: Peter Zijlstra <> Link: Signed-off-by: Arnaldo Carvalho de Melo <>
2014-11-19perf tools: Add perf-read-vdso32 and perf-read-vdsox32 to .gitignoreAdrian Hunter1-0/+2
Recently added executables Add perf-read-vdso32 and perf-read-vdsox32 need to be added to .gitignore. Signed-off-by: Adrian Hunter <> Cc: David Ahern <> Cc: Frederic Weisbecker <> Cc: Jiri Olsa <> Cc: Namhyung Kim <> Cc: Paul Mackerras <> Cc: Peter Zijlstra <> Cc: Stephane Eranian <> Link: Signed-off-by: Arnaldo Carvalho de Melo <>
2014-09-17perf tools: Add perf-with-kcore scriptAdrian Hunter1-0/+1
Decoding an Intel PT trace of the kernel requires an accurate kernel object image. This is provided by making a copy of kcore. However the copy needs to be made under the same conditions as the original recording, and then it needs to be associated with the file. The perf-with-kcore script does that. The script also checks the permissions on the buildid cache and can be used to fix them. That is needed for distributions where root does not have a home directory and consequently writes to the same buildid cache as the user, resulting in cached files that the user does not have access to. Example: $ ./perf-with-kcore Usage: perf-with-kcore <perf sub-command> < directory> [<sub-command options> [ -- <workload>]] <perf sub-command> can be record, script, report or inject or: perf-with-kcore fix_buildid_cache_permissions $ ./perf-with-kcore record pt_uname -e intel_pt// -- uname Recording Using /home/ahunter/bin/perf perf version 3.15.rc3.g4549ba /home/ahunter/bin/perf record -o pt_uname/ -e intel_pt// -- uname Linux [ perf record: Woken up 3 times to write data ] [ perf record: Captured and wrote 0.023 MB pt_uname/ ] Copying kcore [sudo] password for ahunter: Done $ tools/perf/ script pt_uname | head Using /home/ahunter/bin/perf perf version 3.15.rc3.g4549ba /home/ahunter/bin/perf script -i pt_uname/ --kallsyms=pt_uname/kcore_dir/kallsyms swapper 0 [002] 161533.969666: sched:sched_switch: swapper/2:0 [120] R ==> perf:11316 [120] :11315 11315 [003] 161533.969704: sched:sched_switch: perf:11315 [120] S ==> swapper/3:0 [120] :11316 11316 [002] 161533.969783: sched:sched_switch: perf:11316 [120] R ==> migration/2:33 [0] :33 33 [002] 161533.969791: sched:sched_switch: migration/2:33 [0] S ==> swapper/2:0 [120] swapper 0 [003] 161533.969792: sched:sched_switch: swapper/3:0 [120] R ==> perf:11316 [120] :11316 11316 [003] 161533.970062: branches: 0 [unknown] ([unknown]) => ffffffff810532fa native_write_msr_safe ([kernel.kallsyms]) :11316 11316 [003] 161533.970062: branches: ffffffff810532fd native_write_msr_safe ([kernel.kallsyms]) => ffffffff81035b31 pt_config_start ([kernel.kallsyms]) Signed-off-by: Adrian Hunter <> Cc: David Ahern <> Cc: Frederic Weisbecker <> Cc: Jiri Olsa <> Cc: Namhyung Kim <> Cc: Paul Mackerras <> Cc: Peter Zijlstra <> Cc: Stephane Eranian <> Link: Signed-off-by: Arnaldo Carvalho de Melo <>
2013-10-11perf tools: Ignore 'perf timechart' output fileRamkumar Ramachandra1-0/+1
The default output file produced by the 'perf timechart' tool is called output.svg, add it to .gitignore. Signed-off-by: Ramkumar Ramachandra <> Cc: Ingo Molnar <> Link: Signed-off-by: Arnaldo Carvalho de Melo <>
2012-09-07perf tools: Ignore compiled python binariesNamhyung Kim1-0/+2
It prevents mindless git add from adding those files. Signed-off-by: Namhyung Kim <> Cc: Ingo Molnar <> Cc: Paul Mackerras <> Cc: Peter Zijlstra <> Link: Signed-off-by: Arnaldo Carvalho de Melo <>
2012-04-14perf tools: Ignore auto-generated bison/flex filesNamhyung Kim1-0/+2
The commit 65f3e56e0c81 ("perf tools: Remove auto-generated bison/flex files") removed those files from git, so they'll be listed on untracked files after building perf. Fix it. Signed-off-by: Namhyung Kim <> Cc: Ingo Molnar <> Cc: Namhyung Kim <> Cc: Paul Mackerras <> Cc: Peter Zijlstra <> Link: Signed-off-by: Arnaldo Carvalho de Melo <>
2011-02-18perf tools: Makefile: Remove various and sundry cruftMichael Witten1-1/+0
This commit squashes several commits that remove: unnecessary uname calls `sh -c' BUILT_INS and QUIET_BUILT_IN They have no effect, and the `fixup-builtins' and `' scripts don't even exist. RUNTIME_PREFIX It's currently never anything but unset, and it's apparently only meaningful when Microsoft Windows is the operating system (according to the source for git). TEST_PROGRAMS EXTRA_PROGRAMS unused SHELL_PATH_SQ portions unused test for V=2 useless exports Only when `V' is undefined (that is, only when the value of `V' is empty) is `export V' performed, which just has the effect of placing the empty-valued variable `V' in the environment. The only other script to make use of `V' is `Documentation/Makefile', which only checks whether `V' is undefined (that is, whether the value of `V' is empty); hence, the `export V' has no effect whatsoever. Similarly, `export QUIET_GEN' is useless because it will only have a non-empty value when `V' has an empty-value, and when `V' has an empty-value, `QUIET_GEN' is always explicitly set in every script in which it is used. `DESTDIR' is only ever defined by the user via the environment or the command line, both of which are automatically exported to sub-make processes. Furthermore, no non-make sub-scripts make use of `DESTDIR' as an environment variable. No other scripts use `perfexec_instdir'. unused QUIET_SUBDIR{0,1} TAR and RPMBUILD PTHREAD_LIBS Maintainer's dist rules and commands distclean target Test suite coverage testing PRINT_DIR and NO_SUBDIR `configure' target NO_CURL @@PERF_VERSION@@ substitution Without the sed command, all of the rule's commands can be reduced to a single line that copies a file and sets the permissions properly in the process. `make test' echo line template_instdir PERF-BUILD-OPTIONS double-colon rules The use of double-colon rules seems misguided or vestigial git. Essentially hard-coded $(SCRIPTS) expansion Signed-off-by: Michael Witten <> LKML-Reference: <new-submission> Signed-off-by: Arnaldo Carvalho de Melo <>
2010-06-17perf tools: .gitignore += config.make config.make.autogenKirill Smelkov1-0/+2
These are local-configuration files and should be ignored. LKML-Reference: <> Signed-off-by: Kirill Smelkov <> Signed-off-by: Arnaldo Carvalho de Melo <>
2010-01-29perf: Ignore perf-archive temp fileJohn Kacur1-0/+1
Tell git to ignore perf-archive. Signed-off-by: John Kacur <> Signed-off-by: Arnaldo Carvalho de Melo <> Cc: Frederic Weisbecker <> LKML-Reference: <> Signed-off-by: Ingo Molnar <>
2010-01-27perf: Ignore Wang1-0/+1
Tell git to ignore this file. Signed-off-by: WANG Cong <> LKML-Reference: <20100125051052.3999.28082.sendpatchset@localhost.localdomain> Signed-off-by: Ingo Molnar <>
2009-11-24perf tools: Add to .gitignoreJohn Kacur1-0/+1
Signed-off-by: John Kacur <> Cc: Frederic Weisbecker <> Cc: Peter Zijlstra <> Cc: LKML-Reference: <> Signed-off-by: Ingo Molnar <>
2009-09-24perf tools: .gitignore += perf*.htmlKirill Smelkov1-0/+1
I've tried building the docs in tools/perf/Documentation/ , and after that `git status` showed dozen of untracked htmls. Let's ignore them. Signed-off-by: Kirill Smelkov <> LKML-Reference: <> Signed-off-by: Ingo Molnar <>
2009-06-06perf_counter tools: Move from Documentation/perf_counter/ to tools/perf/Ingo Molnar1-0/+16
Several people have suggested that 'perf' has become a full-fledged tool that should be moved out of Documentation/. Move it to the (new) tools/ directory. Cc: Peter Zijlstra <> Cc: Mike Galbraith <> Cc: Paul Mackerras <> Cc: Arnaldo Carvalho de Melo <> LKML-Reference: <new-submission> Signed-off-by: Ingo Molnar <>