Merge branch 'perf/urgent' into perf/core
Merge reason: Pick up updates before queueing up dependent patches. Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
@@ -264,9 +264,6 @@ pid_put_sample(int pid, int type, unsigned int cpu, u64 start, u64 end)
|
||||
c->start_time = start;
|
||||
if (p->start_time == 0 || p->start_time > start)
|
||||
p->start_time = start;
|
||||
|
||||
if (cpu > numcpus)
|
||||
numcpus = cpu;
|
||||
}
|
||||
|
||||
#define MAX_CPUS 4096
|
||||
@@ -514,6 +511,9 @@ static int process_sample_event(union perf_event *event __used,
|
||||
if (!event_str)
|
||||
return 0;
|
||||
|
||||
if (sample->cpu > numcpus)
|
||||
numcpus = sample->cpu;
|
||||
|
||||
if (strcmp(event_str, "power:cpu_idle") == 0) {
|
||||
struct power_processor_entry *ppe = (void *)te;
|
||||
if (ppe->state == (u32)PWR_EVENT_EXIT)
|
||||
|
@@ -456,9 +456,9 @@ void svg_legenda(void)
|
||||
return;
|
||||
|
||||
svg_legenda_box(0, "Running", "sample");
|
||||
svg_legenda_box(100, "Idle","rect.c1");
|
||||
svg_legenda_box(200, "Deeper Idle", "rect.c3");
|
||||
svg_legenda_box(350, "Deepest Idle", "rect.c6");
|
||||
svg_legenda_box(100, "Idle","c1");
|
||||
svg_legenda_box(200, "Deeper Idle", "c3");
|
||||
svg_legenda_box(350, "Deepest Idle", "c6");
|
||||
svg_legenda_box(550, "Sleeping", "process2");
|
||||
svg_legenda_box(650, "Waiting for cpu", "waiting");
|
||||
svg_legenda_box(800, "Blocked on IO", "blocked");
|
||||
|
@@ -1836,7 +1836,7 @@ int dso__load_vmlinux(struct dso *self, struct map *map,
|
||||
int err = -1, fd;
|
||||
char symfs_vmlinux[PATH_MAX];
|
||||
|
||||
snprintf(symfs_vmlinux, sizeof(symfs_vmlinux), "%s/%s",
|
||||
snprintf(symfs_vmlinux, sizeof(symfs_vmlinux), "%s%s",
|
||||
symbol_conf.symfs, vmlinux);
|
||||
fd = open(symfs_vmlinux, O_RDONLY);
|
||||
if (fd < 0)
|
||||
|
Reference in New Issue
Block a user