Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1199346 > unrolled thread

Re: [PATCH 2/4] perf, tools, stat: Abstract stat metrics printing

Started byAndi Kleen <andi@firstfloor.org>
First post2015-08-04 02:50 +0200
Last post2015-08-04 02:50 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH 2/4] perf, tools, stat: Abstract stat metrics printing Andi Kleen <andi@firstfloor.org> - 2015-08-04 02:50 +0200

#1199346 — Re: [PATCH 2/4] perf, tools, stat: Abstract stat metrics printing

FromAndi Kleen <andi@firstfloor.org>
Date2015-08-04 02:50 +0200
SubjectRe: [PATCH 2/4] perf, tools, stat: Abstract stat metrics printing
Message-ID<pTyAy-2Qy-15@gated-at.bofh.it>
> 
> because we already need to make the print_metric callback global,
> would it be better to make this struct global, having all the
> needed callbacks defined within? something like:

It's actually not global, but static.

I skipped this change. After some other changes there is only
a single function call with these arguments left, so it's not 
an issue to pass it around.

-Andi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web