10 More Discussions You Might Find Interesting
1. Linux
I'm not able to run perf on linux 4.4. I'm using ubuntu 15.10.
The error I'm getting is:
WARNING: perf not found for kernel 4.4.0
You may need to install the following packages for this specific kernel: linux-tools-4.4.0-4.4.0 linux-cloud-tools-4.4.0-4.4.0
You may also want to install... (4 Replies)
Discussion started by: BHASKAR JUPUDI
4 Replies
2. Shell Programming and Scripting
Hi,
I'm trying to record metrics for an application called memcached. The procedure that I followed is:
1) Start the server using this command:
memcached -t 4 -m 4096 -n 550
2) Start the client using this command (after warming up the server):
./loader -a... (0 Replies)
Discussion started by: BHASKAR JUPUDI
0 Replies
3. HP-UX
Would there be a reason to keep old logproc files that have been tarred up for any longer than a few days? (1 Reply)
Discussion started by: jeffbusz
1 Replies
4. Linux
Scenario:
Log into a linux server interface as root.
Inititiate an SSH session with the server using Putty and a valid user account (e.g. fakeuser).
Log into TTY2 of the linux server interface using another valid user account (e.g. faketester).
Issue:
With these three login sessions,... (8 Replies)
Discussion started by: walterthered
8 Replies
5. Red Hat
Scenario:
1. Log into a linux server interface as root.
2. Inititiate an SSH session with the server using Putty and a valid user account (e.g. fakeuser).
3. Log into TTY2 of the linux server interface using another valid user account (e.g. faketester).
Issue:
With these three login... (1 Reply)
Discussion started by: walterthered
1 Replies
6. UNIX for Dummies Questions & Answers
I'm trying to count the number of directories in a folder but I don't want to count the sub directories.
So far I have this:
find -type d | wc -l
Is there a parameter to stop counting sub directories ?
Thanks (5 Replies)
Discussion started by: Ultima
5 Replies
7. UNIX for Dummies Questions & Answers
I'm trying extract a number of filename fields from a log file and copy them out as separate rows in a text file so i can load them into a table. I'm able to get the filenames but the all appear on one line. I tried using the cut command with the -d (delimiter) option but cant seem to make it... (1 Reply)
Discussion started by: Sinbad-66
1 Replies
8. Post Here to Contact Site Administrators and Moderators
I am not sure if this is the right place to post this. Heres my problem: When I posted yesterday I think I saw the number of posts made by me as above 60. Today morning when I posted, it showed my post as the 60th post. What went wrong? (In fact I referred to a previous post made me...it shows up... (1 Reply)
Discussion started by: Abhishek Ghose
1 Replies
9. Solaris
I'm looking for a good Solaris performance monitoring book. I work primarily with Solaris 9, but will also be working with 10, so a dtrace chapter would also be good. Any insight would be much appreciated. (4 Replies)
Discussion started by: dangral
4 Replies
10. Shell Programming and Scripting
Is it possible to do a join on multiple fields of two files? I am trying to do something like join -t, -1 2,3 -2 2,3 -o 2.1,2.2,2.3,1.3 filea fileb
I want the join to be on columns 2 and 3 of filea and columns 2 and 3 of fileb.
What is hapenning is that the second file that I want to do the join... (1 Reply)
Discussion started by: reggiej
1 Replies
PERF_3.2-LIST(1) perf Manual PERF_3.2-LIST(1)
NAME
perf-list - List all symbolic event types
SYNOPSIS
perf list [hw|sw|cache|tracepoint|event_glob]
DESCRIPTION
This command displays the symbolic event types which can be selected in the various perf commands with the -e option.
EVENT MODIFIERS
Events can optionally have a modifer by appending a colon and one or more modifiers. Modifiers allow the user to restrict when events are
counted with u for user-space, k for kernel, h for hypervisor.
The p modifier can be used for specifying how precise the instruction address should be. The p modifier is currently only implemented for
Intel PEBS and can be specified multiple times: 0 - SAMPLE_IP can have arbitrary skid 1 - SAMPLE_IP must have constant skid 2 - SAMPLE_IP
requested to have 0 skid 3 - SAMPLE_IP must have 0 skid
The PEBS implementation now supports up to 2.
RAW HARDWARE EVENT DESCRIPTOR
Even when an event is not available in a symbolic form within perf right now, it can be encoded in a per processor specific way.
For instance For x86 CPUs NNN represents the raw register encoding with the layout of IA32_PERFEVTSELx MSRs (see [Intel(R) 64 and IA-32
Architectures Software Developer's Manual Volume 3B: System Programming Guide] Figure 30-1 Layout of IA32_PERFEVTSELx MSRs) or AMD's
PerfEvtSeln (see [AMD64 Architecture Programmer's Manual Volume 2: System Programming], Page 344, Figure 13-7 Performance Event-Select
Register (PerfEvtSeln)).
Example:
If the Intel docs for a QM720 Core i7 describe an event as:
Event Umask Event Mask
Num. Value Mnemonic Description Comment
A8H 01H LSD.UOPS Counts the number of micro-ops Use cmask=1 and
delivered by loop stream detector invert to count
cycles
raw encoding of 0x1A8 can be used:
perf stat -e r1a8 -a sleep 1
perf record -e r1a8 ...
You should refer to the processor specific documentation for getting these details. Some of them are referenced in the SEE ALSO section
below.
OPTIONS
Without options all known events will be listed.
To limit the list use:
1. hw or hardware to list hardware events such as cache-misses, etc.
2. sw or software to list software events such as context switches, etc.
3. cache or hwcache to list hardware cache events such as L1-dcache-loads, etc.
4. tracepoint to list all tracepoint events, alternatively use subsys_glob:event_glob to filter by tracepoint subsystems such as sched,
block, etc.
5. If none of the above is matched, it will apply the supplied glob to all events, printing the ones that match.
One or more types can be used at the same time, listing the events for the types specified.
SEE ALSO
perf_3.2-stat(1), perf_3.2-top(1), perf_3.2-record(1), Intel(R) 64 and IA-32 Architectures Software Developer's Manual Volume 3B: System
Programming Guide[1], AMD64 Architecture Programmer's Manual Volume 2: System Programming[2]
NOTES
1. Intel(R) 64 and IA-32 Architectures Software Developer's Manual Volume 3B: System Programming Guide
http://www.intel.com/Assets/PDF/manual/253669.pdf
2. AMD64 Architecture Programmer's Manual Volume 2: System Programming
http://support.amd.com/us/Processor_TechDocs/24593.pdf
perf 06/24/2012 PERF_3.2-LIST(1)